t3600: stop losing return codes of git commands