Git and GitHub (Beginner)
roadmap.sh: https://roadmap.sh/git-github
Suggested path through the Git and GitHub (Beginner) nodes. Each node links to its lesson when written.
Nodes
What & why
- What is version control
- What is Git
- What is GitHub
- Installing and configuring Git
Core workflow
- Initializing a repository
- The staging area
- Making commits
- Writing good commit messages
- Viewing history (
git log) - Checking status and diffs
Branching
- What is a branch
- Creating and switching branches
- Merging branches
- Resolving merge conflicts
Working with GitHub
- Remotes (
origin) - Cloning a repository
- Pushing and pulling
- Forks
- Pull requests
- Issues and discussions
Everyday essentials
.gitignore- Undoing changes (
restore,reset,revert) - Stashing
- Tags and releases
Collaboration
- Branching strategies
- Code review basics
- Keeping a fork in sync
Resources
See resources.md.
Project ideas
- Put an existing local project under Git and publish it to a new GitHub repo.
- Practice the branch → commit → pull-request → merge loop on a throwaway repo.
- Contribute a small fix to an open-source repo via a fork and pull request.