git commit -a | $ git commit -a automatically stages the files that have been locally modified. New files which have not been published yet are not affected. |
git log -p | $ git log -p produces patch text. A patch file is used to share your local changes with others without pushing your changes to the main branch of the repo. |
git show | $ git show shows you one or more object(s) such as blobs, trees, tags, and commits. |
git diff | $ git diff is similar to the Linux `diff` command, and can show the changes between commits, changes between the working tree and index, changes between two trees, changes from a merge, and so on. |
git diff –staged | $ git diff –staged is an alias of $ git diff –cached, which shows all staged files compared to the named commit. |
git add -p | $ git add -p allows a user to interactively review patches before adding to the current commit. |
git mv | $ git mv is similar to the Linux `mv` command. This command can move or rename a file, directory, or symlink. |
git rm | $ git rm is similar to the Linux `rm` command. This command deletes or removes a file from the working tree. |