Ensure git is called using goroutine