Updated on 2025-07-24 GMT+08:00

Installing and Configuring Git

Constraints

Table 1 Constraints

Item

Description

Security protocol compatibility

CodeArts Repo supports TLS 1.2 and TLS 1.3. If Git is the latest version, you can run the following command to specify the TLS version:

openssl s_client -connect test.com:443 -tls1_2
  • test.com is the domain name tls1_2 for Git upload and download in CodeArts Repo.
  • tls1_2 indicates TLS 1.2.

CodeArts Repo functions

GitHub Desktop is not supported in CodeArts Repo.

Install Git Client

For details about the clients supported by Repo and the installation guide link, see Table 2.

Table 2 Compatible Git clients

Client Name

OS

Official Installation Guide Link

Git client

Windows

Windows Git Client Installation Guide

Linux

Linux Git Client Installation Guide

Mac

Mac Git Client Installation Guide

TortoiseGit

Windows

Windows TortoiseGit Client Installation Guide

Windows Git client usernames can include letters, numbers, and common symbols. Characters with ASCII values less than or equal to 32, as well as ".", ",", ":", ";", "<", ">", """, "\", and "/" cannot be used at the beginning or end of the username. For easier management, you can use your CodeArts Repo username.

Enter the following commands in Git Bash to configure the username and email address:
git config --global user.name your username
git config  --global user.email your_email_address

Related Document

For different Git client solutions, see Compatible TLS Protocol Versions with CodeArts Repo