Git

Git tracks the changes to your code over time, and three commands, add, commit, and push, save your work and send it to GitHub.

Novice · Software Development · Git · Updated

By

Git is a version control system that helps you manage and track changes to your code (and other text files) over time, making it easy to go back to previous versions if needed. Throughout this course, you will use Git to save your work and keep a copy of it on GitHub.

# 1. Stage your changes
git add -A

# 2. Commit your staged changes
git commit -m "describe your changes"

# 3. Send your commits to GitHub
git push

Cheat sheets