Skip to content Skip to sidebar Skip to footer

How To Download And Install From Github UPDATED

How To Download And Install From Github

Introduction

Git is a widely used open-source software tracking application used to rail projects across different teams and revision levels.

This guide will testify you how to install Git on Windows.

tutorial on Installing Git Windows

Prerequisites

  • Administrator privileges
  • Admission to a control-line
  • Your favorite coding text editor
  • Username and countersign for the Github website (optional)

Steps For Installing Git for Windows

Installing Git prompts you lot to select a text editor. If y'all don't have one, we strongly advise y'all to install prior to installing Git. Our roundup of the best text editors for coding may help you lot decide.

Note: If you are new to Git, refer to our mail service How Does Git Work to learn more about Git workflow and Git functions.

Download Git for Windows

1. Browse to the official Git website: https://git-scm.com/downloads
2. Click the download link for Windows and permit the download to consummate.

Windows version on Git page to download

Excerpt and Launch Git Installer

three. Browse to the download location (or utilize the download shortcut in your browser). Double-click the file to excerpt and launch the installer.

 example Location where the Git file has been downloaded

iv. Allow the app to brand changes to your device by clicking Yep on the User Business relationship Control dialog that opens.

Initiate the Git installation process by selecting Yes

5. Review the GNU General Public License, and when you're fix to install, click Adjacent.

Accept Git Terms of Use

6. The installer volition enquire you for an installation location. Get out the default, unless you take reason to alter it, and click Next.

Select the location for the Git installation on windows

7. A component selection screen volition appear. Leave the defaults unless you take a specific need to change them and click Adjacent.

This screen allows you to select custom Git componenets to install.

8. The installer volition offer to create a start menu binder. Simply click Side by side.

Create shortcuts in Windows Start Menu

ix. Select a text editor you lot'd like to use with Git. Utilise the drop-down menu to select Notepad++ (or whichever text editor y'all adopt) and click Next.

choosing a text editor durring Git installation

10. The next footstep allows you to cull a different name for your initial branch. The default is 'master.' Unless you're working in a team that requires a unlike name, exit the default pick and click Adjacent.

Choose a name for your initial git branch.

11. This installation step allows y'all to change the PATH environment. The PATH is the default set of directories included when you run a control from the control line. Leave this on the middle (recommended) selection and click Next.

Adjust Git path enviorment

Server Certificates, Line Endings and Terminal Emulators

12. The installer now asks which SSH client you want Git to use. Git already comes with its ain SSH client, so if you don't demand a specific i, leave the default selection and click Next.

Choose which SSH client to use in git.

13. The next option relates to server certificates. Most users should use the default. If you're working in an Agile Directory environs, you may need to switch to Windows Store certificates. Click Adjacent.

server sertificate for Git to use selcted

xiv. The next choice converts line endings. Information technology is recommended that you get out the default choice. This relates to the way data is formatted and changing this option may cause problems. Click Side by side.

Select line end conversions

fifteen. Choose the terminal emulator you desire to apply. The default MinTTY is recommended, for its features. Click Next.

Select MinTTY as default terminal emulator

xvi. The installer now asks what the git pull control should do. The default selection is recommended unless you specifically need to change its behavior. Click Next to proceed with the installation.

Choose what the git pull command does in git.

17. Next you should choose which credential helper to use. Git uses credential helpers to fetch or save credentials. Leave the default option as it is the almost stable one, and click Next.

Choose a git credential helper.

Boosted Customization Options

18. The default options are recommended, even so this footstep allows you to decide which actress option you would similar to enable. If you use symbolic links, which are like shortcuts for the command line, tick the box. Click Side by side.

Choose extra options during git installation.

19. Depending on the version of Git you're installing, information technology may offer to install experimental features. At the fourth dimension this article was written, the options to include support for pseudo controls and a built-in file system monitor were offered. Unless you are feeling adventurous, go out them unchecked and click Install.

Configure experimental git features.

Complete Git Installation Process

20. In one case the installation is complete, tick the boxes to view the Release Notes or Launch Git Bash, then click Finish.

Git installation on Windows is done

How to Launch Git in Windows

Git has 2 modes of employ – a fustigate scripting shell (or command line) and a graphical user interface (GUI).

Launch Git Bash Shell

To launch Git Bash open the Windows Start bill of fare, type git bash and press Enter (or click the application icon).

how to start Git bash from Windows

Launch Git GUI

To launch Git GUI open the Windows Showtime menu, blazon git gui and press Enter (or click the awarding icon).

initial Git GUI screen

Connecting to a Remote Repository

You need a GitHub username and password for this next step.

Create a Examination Directory

Open a Windows PowerShell interface by pressing Windows Primal + x, and and then i once the menu appears.

Create a new exam directory (folder) past entering the following:

          mkdir git_test        

An example of the PowerShell output.

Example of creating a test directory in Windows PowerShell.

Change your location to the newly created directory:

          cd git_test        

Annotation: If you already take a GitHub repository, use the name of that project instead of git_test.

Configure GitHub Credentials

Configure your local Git installation to utilise your GitHub credentials by entering the post-obit:

          git config --global user.name "github_username"        
          git config --global user.email "email_address"        

Annotation: Supplant github_username and email_address with your GitHub credentials.

Clone a GitHub Repository

Become to your repository on GitHub. In the top right above the list of files, open the Clone or download drop-downwardly menu. Copy the URL for cloning over HTTPS.

Cloning a GitHub repository over HTTPS

Switch to your PowerShell window, and enter the following:

          git clone repository_url        

Important: In the example above, the command volition clone the repository over HTTPS. Another pick is cloning with SSH URLs. For that option to piece of work, you must generate an SSH central pair on your Windows workstation and assign the public key to your GitHub account.

List Remote Repositories

Your working directory should at present have a copy of the repository from GitHub. Information technology should incorporate a directory with the name of the project. Alter to the directory:

          cd git_project        

Notation: Supplant git_project with the actual proper noun of the repository you downloaded. If it's not working, you tin can list the contents of the current directory with the ls command. This is helpful if you don't know the exact proper noun or demand to cheque your spelling.

In one case you're in the sub-directory, list the remote repositories:

          git remote -five        

Pushing Local Files to the Remote Repository

Once you've washed some piece of work on the projection, you may desire to submit those changes to the remote project on GitHub.

1. For example, create a new text file past entering the following into your PowerShell window:

          new-detail text.txt        

2. Confirmation that the new file is created.

Create new text file in Windows PowerShell.

three. At present check the status of your new Git branch and untracked files:

          git status        

4. Add your new file to the local project:

          git add text.txt        

5. Run git status over again to brand sure the text.txt file has been added. Adjacent, commit the changes to the local project:

          git commit -grand "Sample 1"        

half-dozen. Finally, push the changes to the remote GitHub repository:

          git button        

You may need to enter your username and password for GitHub.

Notation: You can remove a remote repository if the demand for it no longer exists. To learn how, visit our guide How to Remove a Git Remote.

Decision

Y'all now have a working installation of Git on your Windows organisation. After installing Git on your Windows, you might find helpful how to update Git. Use Git's features to coordinate piece of work among programmers on a project.

For Linux and MacOS installation guides, check out our manufactures on installing Git on Ubuntu,  CentOS and MacOS.

Was this article helpful?

Yeah No

DOWNLOAD HERE

Posted by: bedoyayeavey.blogspot.com

Post a Comment for "How To Download And Install From Github UPDATED"