GitHub Workflow
You’re doing great! Now, let’s learn how to share your code online and collaborate with others using GitHub.
What is GitHub?
GitHub is a website for hosting Git repositories. It lets you:
- Store your code in the cloud
- Collaborate with others
- Track issues and pull requests
Typical Workflow
- Create a repository on GitHub
- Clone it to your computer
git clone https://github.com/your-username/your-repo.git - Make changes, commit, and push
git add .
git commit -m "Describe your changes"
git push - Open a pull request to suggest changes
tip
Always pull the latest changes before you start working: git pull
What's Next?
Time to practice! Try a mini project: Git Projects.