Test git interaction inside a temporary home dir