Only for testing git commands.