check git command install state.