Based on Michael Scharf’s comment:
You can leave out the password so that it won’t be logged in your Bash history file:
git clone https://firstname.lastname@example.org/username/repository.git
It will prompt you for your password.
Alternatively, you may use:
git clone https://username:email@example.com/username/repository.git
This way worked for me from a GitHub repository.