Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
I’ll list the most common command down below.
You can find more information at git cheat sheet
Here is an example to learn how to use these command.
Picture from: https://git-scm.com
Add a file at your repo , in this toturial I create
git-test.py at my repo.
This will list all new or modified files to be commited, you can know which file you change or not be tracked.
Then add the file you want to track.
See the difference between original status and the current status.
Q if you want to quit the diff listing.
All file are prepared, then you have to commit this change to the repo.
Check your commitment.
Reset current HEAD to the specified state.
HEAD can change to
I think the fastest way to learn
git is to try it your self !