The following can be used:
$ git clone https://username:[email protected]/username/repository.git
You can also leave out the password, after the following command git will ask you and it will not be saved in .git/config nor in your bash history
$ git clone https://[email protected]/username/repository.git