Updating Git::check_bin method to handle spaces in the path.