본문 바로가기
카테고리 없음

How To Download Git For Mac

by lisvintiobeslada 2020. 12. 3.


Git

GitHub is a great resource for developers although it can seem a little complicated to use at first. In this tutorial, we’ll show you how to download from GitHub on the following operating systems: MS Windows, Mac OS X and Linux (CentOS, Debian, and Ubuntu). So without further ado, let’s start.

Why install GitHub for Mac? The command line interface can be intimidating, hard to use, and you have to memorize all the commands. Additionally, GitHub has some specific features that are not part of Git. In this tutorial, we will install GitHub for Mac, a nice a free GUI for Git / GitHub. Download the latest Git for Mac installer. Follow the prompts to install Git. Open a terminal and verify the installation was successful by typing git -version: $ git - version git version 2.9. Open a browser and navigate to Git’s official website. You will see a display showing the version number of the latest source release and a download button, as in the image below.

How to Download From GitHub on Windows & Mac OS X

Mac and Windows users will be happy to find out that files and projects can be download from GitHub by using a GUI. There are many Git clients available, some free and some commercials, but for this tutorial, we’ll stick to the official Git clients from GitHub.

  1. Head over to https://desktop.github.com/ and download the Native Git Desktop for your operating system.
  2. Once the download has completed, proceed with the installation. When asked to sign in, you can either create a free account or skip this step.
  3. Once you’ve completed the installation, you will see the GitHub Desktop window. Click on Clone a repository:
  4. Now you’ll need to get the URL of the project you wish to download from GitHub. For this tutorial, we’ll download phpMyAdmin. The URL for the project is https://github.com/phpmyadmin/phpmyadmin. It’s the same URL you would use to access the phpMyAdmin project from your web browser. Select the URL tab and copy the project URL in the text box:
  5. If you wish to modify the local path, choose another folder. When you’re done, click the Clone button. The phpMyAdmin project will be downloaded to your hard drive.
  6. Once the cloning process has completed, just click on “open this repository in Explorer” to access the phpMyAdmin files:

So that’s all there is to it. Next, you can copy the downloaded files to your project.

How Do I Download Git For Mac

How to Download From GitHub on Linux

On Linux, you’ll to install “Git.” Here’s how to do this depending on the Linux distribution you are using:

Installing Git on CentOS

Installing Git on Debian

Installing Git on Ubuntu

Once you’ve installed Git, you can check its version:

Configuring Git for Linux

To use Git, you’ll need to specify your name and email address:

Cloning a GitHub Repository

Start by creating a directory in which you will keep all the GitHub repositories you’ll clone:

Before you can clone a repository, you need to find the URL to its “.git” file. For this example, we’re going to clone the phpMyAdmin repository. Open this URL in your browser: https://github.com/phpmyadmin/phpmyadmin

Click on the green “Clone or download” button and then on the “Copy to clipboard” icon next to the URL.

Now use this URL with the “git” command to clone the repository:

Once the download is completed, the phpMyAdmin files will be found in ~/git/phpmyadmin

So, downloading files from GitHub is as simple as that. Of course, there is much more you can do with Git, such as managing your repositories or contributing to other projects. If you’re interested in learning more about Git, you can read the official documentation here.

Related

Your download is starting..

You are downloading the latest (2.29.2) 32-bit version of Git for Windows. This is the most recent maintained build. It was released 3 days ago, on 2020-10-30.

Mac

Click here to download manually, if your download hasn't started.

Other Git for Windows downloads

Git for Windows Setup

32-bit Git for Windows Setup.

64-bit Git for Windows Setup.

Git for Windows Portable ('thumbdrive edition')

32-bit Git for Windows Portable.

How To Download Git For Mac Os

How To Download Git For MacMac

Download Mac Os For Pc

64-bit Git for Windows Portable.

Best reading software for mac. The current source code release is version 2.29.2. If you want the newer version, you can build it from the source code.

Now What?

Now that you have downloaded Git, it's time to start using it.