Move Git stuff to bottom
Ensure git is called using goroutine
Incorporate git hooks