added -s flag to git commands to work with older versions of git