Updated on 2023-05-06 GMT+08:00

Installing Git Bash for Windows

Git Bash is a simple and efficient client on Windows for users who are familiar with Git commands. If you are unfamiliar with Git commands, you can use TortoiseGit by referring to Installing TortoiseGit for Windows.

  1. Install the Git Bash client.
    1. Go to the Git Bash website and download the installation package for 32-bit or 64-bit Windows.
    2. Double-click the installation package. In the installation window displayed, click Next for several times and then click Install.
  2. Open the Git Bash client.

    Click the Windows start icon, enter Git Bash in the search box, and press Enter to open Git Bash. You are advised to pin Git Bash to the Windows taskbar.

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

    Run the following command to view the configurations:

    git config -l
    • A username can contain letters, digits, and special characters. You are advised to set the same username as that in CodeArts Repo.
    • The email address should be written in the standard format.
    • The --global parameter in the commands indicates that the configurations apply to all Git repositories on your computer. However, you can set a different username and email address for a specific repository.