git noob here. I am trying to set up password caching for GitHub by following their documentation.
When I got to the step below I used 'which git' to see if my directory was the same as the example. My directory was /usr/bin/git . As the instructions said, I replaced the example path with my path.
(Example Path) $ sudo mv git-credential-osxkeychain /usr/local/git/bin
(My Path) $ sudo mv git-credential-osxkeychain /usr/bin/git
Unfortunately, there now seems to be a problem with Git. I can't run any Git commands. For example (git --help). If I try, it just returns a blank line. If I simply type Git into the terminal it returns
Usage: git credential-osxkeychain <get|store|erase>
I'm not sure where to go from here. Any help is greatly appreciated.