I\'ve been somewhat \'putting up\' with Github always asking for my username and password when I clone a repository. I want to bypass this step because it is an annoyance w
Problem seems to be because you're cloning from HTTPS and not SSH. I tried all the other solutions here but was still experiencing problems. This did it for me.
Using the osxkeychain helper like so:
Find out if you have it installed.
git credential-osxkeychain
If it's not installed, you'll be prompted to download it as part of Xcode Command Line Tools.
If it is installed, tell Git to use osxkeychain helper using the global credential.helper config:
git config --global credential.helper osxkeychain
The next time you clone an HTTPS url, you'll be prompted for the username/password, and to grant access to the OSX keychain. After you do this the first time, it should be saved in your keychain and you won't have to type it in again.