When you want to clone into a non empty folder or directory (https://stackoverflow.com/questions/9864728/how-to-get-git-to-clone-int…):
git init .
git remote add -t \* -f origin [repository-URL]
git checkout master
Show total log of commits: git log --graph -p
Show complete diff between first commit and head: git diff `git rev-list HEAD | tail -n 1` HEAD
( https://stackoverflow.com/questions/9633740/how-to-see-git-diff-from-ve… )