

To set up your identity, in an elevated Command Prompt, run: That way, all your commits use the same identity (username and email address). To avoid having to feed it for your every commit, Git lets you set up your default user identity.

Click Next to proceed.Ĭhoose Use the OpenSSL library as the transport backend to validate server certificates and click Next.įirst things first, every commit you make to Git repositories requires a username and email address attached to it. Doing so will allow you to use Git from Git Bash, Command Prompt, PowerShell, or any other software. On the Adjusting your PATH environment screen, select Git from the command line and also from 3rd-party software.

However, you can set a custom name by choosing Overrise the default branch name for new repositories and entering the name in the text field below. Selecting Let Git decide uses master, which is what most people use. Next, you need to set the default name for the initial branch you create in your repositories. By default, Git is set to use the Vim text editor, but since it can be intimidating for some, there are other text editors to choose from, such as Atom, Notepad++, Visual Studio Code, and Sublime Text. When asked to choose the default editor for Git, hit the dropdown button and select your editor of choice.
WINDOWS GITX WINDOWS
On the Select Components window, tick the checkboxes for Additional icons, Windows Explorer integration ( Git Bash Here and Git GUI Here), and Add a Git Bash Profile to Windows Terminal. On the User Account Control prompt, tap Yes to bring up the installation window. When it’s finished, use the following command to verify the installation:
WINDOWS GITX INSTALL
Now, enter the command below and hit Enter to install Git on your computer:įollow the prompts to finish the installation. Once Chocolatey is installed, restart the CMD or PowerShell. For this, open the Windows Command Prompt with administrative privileges and run the following -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "::SecurityProtocol = 3072 iex ((New-Object ).DownloadString(''))" & SET "PATH=%PATH% %ALLUSERSPROFILE%\chocolatey\bin"Īlternatively, you can run PowerShell with administrative privileges and -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "::SecurityProtocol = 3072 iex ((New-Object ).DownloadString(''))" & SET "PATH=%PATH% %ALLUSERSPROFILE%\chocolatey\bin" To use Chocolatey, you first need to install it on your PC. It works with all versions of Windows, starting with Windows 7.
WINDOWS GITX UPDATE
Installing Git Using ChocolateyĬhocolatey is a Windows package manager that helps you install and update software packages on your Windows PC. You can either use an automated installation setup or take advantage of the Chocolatey package manager to install Git via the command line or install it directory from the source for the latest version. Git can be installed on Windows in a few different ways.
WINDOWS GITX CODE
