refine git.rst, add bare repo notes
fix bug in shell-script.rst: string equality should be ``=`` not ``==``