check for git on init, using exec instead of spawn, closes #2 closes #3