Use GitHub to update README.md in my repository named my-chatgpt-files.
Replace the default README with a short, beginner-friendly explanation that this repository contains files and notes that I manage with ChatGPT.
ChatGPT may ask you to approve the action. Review the request and approve it when it matches what you asked for.
🔎
Step 6
Check the result
Return to GitHub and open the my-chatgpt-files repository.
Open README.md. You should see the text created by ChatGPT.
GitHub also keeps a record of the change, so you can inspect what changed and see earlier versions later.
📝
Step 7
Ask ChatGPT to create a file
Create a file named ideas.md in my repository named my-chatgpt-files.
Add the heading "Ideas" and a short list of useful things I could store in this repository.
Return to GitHub and confirm that ideas.md appears.
You have now used ChatGPT to edit an existing file and create a new one.
💬
Step 8
How to ask for future changes
A useful request normally needs only:
The repository name
What you want created or changed
Any important requirements for the result
For example:
Update ideas.md in my repository named my-chatgpt-files.
Organize the ideas into Personal, Home, and Work sections.
Concentrate on describing the result you want.
💡
Step 9
Ideas for using GitHub with ChatGPT
Once everything is connected, a repository can become a shared workspace where ChatGPT collects information, creates documents, and keeps the supporting material organized.
🔎 Research a topic deeply
Ask ChatGPT to find and evaluate up to 50 credible sources. It can save detailed source notes, track gaps, and create a referenced report after enough good evidence has been collected.
Example prompt:
Use my repository named [repository name] to create a research project about [topic].
Find and evaluate up to 50 credible sources. For each source, save its title, author or publisher, date, link, detailed notes, key findings, and important limitations. Maintain a source index that shows what has been collected and what gaps remain.
After the source collection is strong enough, create a detailed report based on the collected research, with references back to the source notes.
⚖️ Compare a major decision
Use a repository to research a purchase, trip, move, school, service, or another important decision while preserving requirements, sources, comparisons, and unanswered questions.
Example prompt:
Use my repository named [repository name] to help me decide between [options].
Create a document listing my requirements and priorities. Research each option, record the sources and findings, compare the tradeoffs, identify unanswered questions, and maintain a current recommendation that can change as new evidence is added.
✍️ Develop a writing or learning project
Store notes, outlines, drafts, lessons, glossaries, exercises, and progress records in one place, then ask ChatGPT to organize and combine them.
Example prompt:
Use my repository named [repository name] to help me [learn a subject or develop a writing project].
Create an outline, glossary, notes, exercises or drafts, and a progress checklist. Update them as we work, explain difficult ideas, and combine the completed material into a polished final document.
⑂
Step 10
What a pull request is
A pull request (PR) lets you review proposed changes before adding them to the main version of a repository.
PRs are useful for larger or important changes because GitHub clearly shows what will change. To ask for one, add:
Make the changes on a new branch and open a pull request for me to review.
Review and merge a PR
Open the pull request link in GitHub.
Read the summary on the Conversation tab.
Open Files changed.
Review the changes. Green lines were added; red lines were removed.
To flag a problem, leave a comment in GitHub or ask ChatGPT to correct it.
Check the updated files after corrections are made.
When the result looks right, select Merge pull request, then Confirm merge.
✓
Merge means accepting the proposed changes and adding them to the repository's main version. GitHub may then offer to delete the temporary branch used for the PR.