Optimize git commands a bit more