If your source control repository is on-premises, the Secure Agent creates a local copy of the repository on the Secure Agent machine. The Secure Agent performs source control operations in the local repository and then pushes them to the remote repository.
When you use an on-premises repository, ensure that the Secure Agent machine has enough space for the local copy of the repository and for all subsequent version control operations.
The Secure Agent creates the local repository the first time that a user performs a source control operation, such as checking in an asset. When it creates the local repository, it copies the branch that stores Informatica Intelligent Cloud Services assets. It does not copy other branches. Each time a user performs a source control operation, the agent gets information about the changes from the remote repository to support the operation.
By default, the Secure Agent creates the local repository in the following directory on the Secure Agent machine:
You can change the local repository directory by editing the git_local_repository_path property for the GitRepoConnectApp service on the Secure Agent details page. For more information about changing the value of this property, see Secure Agent Services.