I recently encountered the following message when I pushed to a GitHub repo:
\"fatal: HttpRequestException encountered. \" followed by bei
\"fatal: HttpRequestException encountered. \"
Above solution does not work for me. But I have a solution for this, When git asks us for username again on git bash, enter your GITHUB username and password on git bash itself and you will be back on work.