check for git workable