git add <file>command in Smartface Terminal.
git checkout -- <file>
git commit -m "my message"
https://<username>:<password>@<restofuri>. However, this method is strongly discouraged since your credentials will be exposed to any kind of attacks. To not enter your credentials every-time you push to the remote, read along to configure your SSH key.
sshin the command and navigate to SSH: view public key... as shown below: