Added a check for git binary availability