Version Control System for Developers
Git is a version control system used to track code changes and collaborate with other developers.
git --version git config --global user.name "Your Name" git config --global user.email "email@example.com"
git init
git status
git add . git add index.html
git commit -m "first commit"
git branch feature git checkout feature
git merge feature
git remote add origin https://github.com/user/repo.git git push -u origin main
git clone https://github.com/user/repo.git
git pull origin main
1. git init 2. git add . 3. git commit -m "message" 4. git push