update by pull mosky request

update check git repository method, use git rev-parse which command is use on check git flags

change check_git_resp error msg to default git error msg