fatal: could not read username 

I have few times encounter an error that says: could not read Username for 'https://github.com'
check the fix.