Complete_Git_and_GitHub_Notes
Complete_Git_and_GitHub_Notes
1. What is Git?
Git is a version control system used to track changes in files and coordinate work among
developers.
- Work in branches
git init
git status
git log
git diff
3. Branching in Git
Create a new branch:
4. Remote Repositories
Clone a repository from GitHub:
git pull
5. What is GitHub?
GitHub is a platform that hosts Git repositories online.
Key features:
- Repositories: Projects
2. Create a branch
3. Make changes
4. Push branch
7. SSH vs HTTPS
- HTTPS: Simple, but asks for credentials every time unless cached
git add .
9. Branching Strategy
- main: Stable release