What you use it for
- Back up project code
- Download open-source projects
- Share builds with the community
Commands
Install
sudo apt install -y gitFirst setup
git config --global user.name "Your Name"
git config --global user.email you@example.comSave a version
git add .
git commit -m "motor control works"Pro tips
- Commit every time something works — it is your undo button.
- Never commit passwords or API keys; use a .gitignore.