Using the OS X Keychain to store and retrieve passwords
Support for password authentication was removed on August 13, 2021. Please use a personal access token instead – Fix for Mac | What I Broke – JavaScript, C#, AWS and General Development
osxkeychain is not storing github credentials? - Stack Overflow