Where I work many people use the same computer on the same account. We now use the shell instead of the GUI just for convenience.
The first time someone committed it
If you use a Windows system, the Git username and password is stored in a control panel. You can go to Control Panel → User Accounts → Credential Manager:Generic Credentials to delete it.