How to git clone a private repository from GitHub

git clone https://PersonalAccessToken@github.com/UserName/RepositoryName.git