I have been facing issue when i fetch or pull in any client. i.e "Tower" and Sourcetree. Everything was going smoothly , i did just update macos into Mojave.
But I always get
Error details: fatal: Authentication failed for 'https://[email protected]/sample/sample.git/'
You can try this solution:
git remote add origin https://{username}:{password}@github.com/{username}/project.git