Connect password authenticated GitHub with UiPath

How to connect to Git repository from UiPath when the GIT repository has password authentication enabled?

Follow the steps in this guide "Creating a personal access token for the command line" and then use your username and token to log in to the GIT using UiPath:

Username: your_username
Password: your_token