git status # To see all changed files
git add -A # add all changed files
git commit -m 'Message'
git push origin <branch-name>
git status
# Show all files which have changes to commit
# Edit hello.py
git status
# hello.py is listed under "Changes not staged for commit"
git add hello.py
git status
# hello.py is listed under "Changes to be committed"
git commit
git status
# nothing to commit (working directory clean)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
//to check how many files contains changes
git status
$ git status
git status [<options>…] [--] [<pathspec>…]