https://github.com/dctacademy/install-git
Instructions on How To Install Git and Setup GitHub
https://github.com/dctacademy/install-git
git github linux macos windows
Last synced: 7 months ago
JSON representation
Instructions on How To Install Git and Setup GitHub
- Host: GitHub
- URL: https://github.com/dctacademy/install-git
- Owner: dctacademy
- License: mit
- Created: 2018-10-15T03:04:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-13T11:33:01.000Z (almost 5 years ago)
- Last Synced: 2024-11-20T22:52:17.879Z (about 1 year ago)
- Topics: git, github, linux, macos, windows
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Instructions on How to Install Git
## Linux/Ubuntu
* Open ```Terminal```
* Run the command ```sudo apt-get update```
* Run the command ```sudo apt-get install git``` or ```sudo apt-get install git-core```
* Run ```git --version``` to check the version of git installed and verify installation
## Windows
* Right-Click on ```My Computer/This PC``` and Click on ```Properties```
* Check the architecture of your operating system (32 bit or 64 bit)
* Visit [Git SCM Windows](https://git-scm.com/download/win) and download ```Git for Windows Setup``` file (your download might automatically start) for your version of opearting system
* Double-Click the Setup file (.exe) and proceed with the installation
* Use all default settings/options while proceeding and **do not** change any settings
* **Do not** install any existing software if prompted (Eg: Visual Studio Code)
* Open ```Command Prompt```
* Run ```git --version``` to check the version of git installed and verify installation
## Mac OS
* Visit [Git SCM Mac](https://git-scm.com/download/mac) and download ```Git for Mac Setup``` file (your download might automatically start). You should receive a file with ```.dmg``` or ```.pkg``` extension
* Double-Click the Installer file (.dmg) and proceed with the installation
* Use all default settings/options while proceeding and **do not** change any settings
* **Do not** install any existing software if prompted (Eg: Visual Studio Code)
* Open ```Terminal```
* Run ```git --version``` to check the version of git installed and verify installation
## GitHub CLI Installation
### macOS
`gh` is available via Homebrew and MacPorts.
#### Homebrew
Install: `brew install github/gh/gh`
Upgrade: `brew upgrade gh`
#### MacPorts
Install: `sudo port install gh`
Upgrade: `sudo port selfupdate && sudo port upgrade gh`
### Windows
`gh` is available via [scoop][], [Chocolatey][], and as downloadable MSI.
#### scoop
Install:
```
scoop bucket add github-gh https://github.com/cli/scoop-gh.git
scoop install gh
```
Upgrade: `scoop update gh`
#### Chocolatey
Install:
```
choco install gh
```
Upgrade:
```
choco upgrade gh
```
### Debian/Ubuntu Linux
Install and upgrade:
1. Download the `.deb` file from the [releases page][]
2. `sudo apt install ./gh_*_linux_amd64.deb` install the downloaded file
### Fedora Linux
Install and upgrade:
1. Download the `.rpm` file from the [releases page][]
2. `sudo dnf install gh_*_linux_amd64.rpm` install the downloaded file
### Centos Linux
Install and upgrade:
1. Download the `.rpm` file from the [releases page][]
2. `sudo yum localinstall gh_*_linux_amd64.rpm` install the downloaded file
### openSUSE/SUSE Linux
Install and upgrade:
1. Download the `.rpm` file from the [releases page][]
2. `sudo zypper in gh_*_linux_amd64.rpm` install the downloaded file
### Arch Linux
Arch Linux users can install from the AUR: https://aur.archlinux.org/packages/github-cli/
```bash
$ yay -S github-cli
```
# Instructions for GitHub
* Visit [GitHub](https://github.com)
* Click on ```Sign Up``` and fill in relevant details
* **Note: Pick a username that represents you or that sounds professional. Remember that this is permanent and it is not recommended to change this**
* Be sure to remember your email that you have used, your username and password
# Youtube Links
* [Session 1](https://www.youtube.com/watch?v=8yd8s7f0iRg)
* [session 2](https://www.youtube.com/watch?v=hCESPCxnIGY)