Conditionalize the git subcommands differently for mirrors and non-mirrors

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>