Git

Git commands

Get all commits with specific word

git log -G$word

Show contents of commit

git show $commit

Dump git file

git-dumper $IP/.git

Check status

git status

Check most recently changed files

git diff --cached nameoffile

Git with ssh

Clone repo

GIT_SSH_COMMAND='ssh -i id_rsa -p 43022' git clone user@TARGET:/DIR_WITH_REPO

Push repo

GIT_SSH_COMMAND='ssh -i ../id_rsa -p 43022' git push origin master