Git and GitHub
The following environment variables are required to connect to a Git repository. You can choose the name for this set of environment variables freely.
GIT_PASSWORD(see below for instructions for GitHub)
The required environment variables to connect to GitHub, the collection name can be chosen freely
After setting up your environment variables and connecting them to your workspace, you can open a terminal by opening the Run menu and choosing Open Terminal. Run the following command:
$ git clone <repository_url>
This command will clone your git repository in a new folder using the name of the repository as the name of the folder. In order to clone into the top level directory of your workspace, the directory your terminal opens up in, you can append
.to the command. This will only work if the current directory is empty.
$ git clone <repository_url> .
After configuring and connecting the environment variables, you can open a terminal by opening the Run menu and choosing Open Terminal. Now you can clone a private repository for example. Make sure to use the web URL of the GitHub repository, starting with
$ git clone https://github.com/<user>/<private-repo>.git