If you want to clone a private repository, the quickest way would be to create a personal access token and select only privileges that your application needs. Then clone command for GitHub would look like:
!git clone https://git_token@github.com/username/repository.git