Fixed git media sync

Fixed "git media sync" which didn't work properly when executed
in subfolders because ".git" is explicitly specified in git_media_buffer
Merge pull request #6 from sindharta/gitk_shell_fix

Fixed git media sync