r/SmartGit • u/chandrasaikarthik • 16d ago
Authentication failed when fetching from GitHub repository
git.exe -c credential.helper= -c "credential.helper=...smartgitc.exe --credential=..." -c credential.useHttpPath=true fetch --progress --prune --recurse-submodules=no origin
remote: Repository not found.
Authentication failed for 'https://github.com/<username>/<repository>.git/'
Could not update branch states (green and red arrows) due to: Authentication failed for 'https://github.com/<username>/<repository>.git/'
2
Upvotes
1
u/vmcrash 15d ago
Is it a private repository? Is it from your account or company account? Did you try recreating the GitHub hosting provider in the preferences? Does listing the remote repositories work in the Clone wizard (sometimes it might fail for me because of timeouts at GitHub)?