VisualStudio error: terminal prompts disabled

When we meet the error in visual studio like the following below:
fatal: could not read Username for ‘https://github.com’: terminal prompts disabled

Solution: Open the command line, navigate to the folder and git push origin master. We can find there will be a prompt to ask you to input the github username and password. Just do it!

no need ssl when using git clone

Using the following command: