Move "get_ack()" to common git_connect functions