in my case, i cannot clone github due to user is wrong.
go to ~/.gitconfig
then try to remove this line of code (just delete it then save file).
[user]
name = youruser
email = [email protected]
or try to use one liner in your cmd or terminal : git config --global --remove-section user
and try to do git clone again. hope it'll fix your day. ><