骆驼吃什么| 女娲是一个什么样的人| 95年属什么| 嘴角起泡用什么药膏好| BORDEAUX是什么红酒| 高筋面粉可以做什么| 防微杜渐是什么意思| 小孩积食吃什么药| 小姨是什么关系| 肆无忌惮的意思是什么| 什么叫包皮过长| 桃花眼是什么意思| 里长是什么官| 黄芪最佳搭配是什么| 拿什么拯救你我的爱人演员表| 土茯苓与茯苓有什么区别| 尿酸高是什么造成的| 自来水养鱼为什么会死| 梦见蜜蜂是什么预兆| 闺蜜过生日送什么礼物好| 血小板低什么症状| 不想吃饭没胃口是什么原因| 女人心肌缺血吃什么药| 卵巢早衰有什么症状| b型血为什么招蚊子| 小的五行属什么| 鱼油什么时间吃最好| 鱼腥草破壁饮片有什么功效| 耳机戴久了有什么危害| 什么是情感| 蛋白粉什么时间喝最好| 吃什么降肌酐| 单核细胞高是什么原因| 15天来一次月经是什么原因| 使能是什么意思| 肾火旺有什么症状| 羔羊是什么意思| 哺乳期感冒吃什么药不影响哺乳| 十一月份属于什么星座| 预估是什么意思| 膝关节痛挂什么科| 什么是低碳生活| grp是什么意思| 做包子用什么面粉| 肾积水有什么危害| 四书五经指的是什么| 八大菜系之首是什么菜| 血块多是什么原因| 日柱华盖是什么意思| 支原体感染是什么病| 红酒配什么饮料好喝| 变白吃什么| 蜂蜜喝了有什么好处| 是什么字| 吉士粉是什么东西| 钙盐沉积是什么意思| 痛经喝什么药| 口腔溃疡是什么原因引起的| 大便为什么是黑色的是什么原因| 外婆的妈妈叫什么| 欣字属于五行属什么| 87年是什么命| 红加黄等于什么颜色| ad是补什么的| 雷锋属什么生肖| 为什么指甲有竖纹| 垚字五行属什么| 早上起床喉咙有痰是什么原因| 苟同什么意思| 检验葡萄糖用什么试剂| 治便秘什么药最好| 腿容易麻是什么原因| 什么原因引起耳石症| 吹风扇感冒了吃什么药| 黑色上衣搭配什么颜色裤子好看| 24小时动态脑电图能查出什么| aq什么意思| 梦见做棺材是什么意思| 爱是什么感觉| 没有胎心胎芽是什么原因造成的| b币有什么用| 总是口渴是什么原因| gin是什么意思| 69是什么姿势| 什么的知了| 纤支镜主要检查什么| 盐是什么味道| 阴道瘙痒用什么药| 妊娠线什么时候长| 拉肚子什么原因造成的| 阿戈美拉汀片是什么药| 淋巴结挂什么科| 琥珀酱是什么味| 庙祝是什么意思| 眼袋青色什么原因| 手脚出汗是什么原因| 抗生素是什么意思| 抗性糊精是什么| 淋巴结肿大是什么引起的| 瓜皮是什么意思| 传染病四项挂什么科| 深圳为什么叫鹏城| 印枭是什么意思| 神经系统是由什么组成的| 拔罐拔出水泡是什么原因| 发生什么事了| 姜粉什么时候喝最好| 准确值是什么意思| 皮肤过敏吃什么药| z世代是什么意思| 花钱是什么意思| 原是什么意思| 吃什么胸大| 学士学位证书有什么用| 肝郁脾虚吃什么药| 一什么树叶| 减肥平台期什么意思| 小便黄是什么原因| 扫码是什么意思| 红点是什么原因引起的| 五指毛桃长什么样子| 什么是管制| 吃什么升血小板快| 为什么大姨妈迟迟不来| 肿瘤前期出现什么症状| 2.25是什么星座| 牙膏什么牌子最好| 驾驶证扣6分有什么影响| 蹲不下去是什么原因| 369是什么意思啊| 什么面条好吃| 舌头有齿痕吃什么药| 1997是什么年| 琼瑶剧是什么意思| 球鞋ep是什么意思| 单宁是什么意思| 螨虫长什么样子| 心慌心跳吃什么药| 胸片是检查什么的| 左前支阻滞吃什么药| 葳蕤是什么意思| 爱出汗吃什么药好| 子宫平位是什么意思| 生是什么意思| 海关是什么| 甲状腺钙化是什么意思| 人言轻微是什么意思| 瓜蒌是什么东西| 人工牛黄是什么| bgm是什么意思| 手麻挂什么科| 腘窝囊肿挂什么科| 香芋是什么| 6月24号什么星座| dcc是什么意思| 泛指是什么意思| 血蛋白低是什么原因| 双子座是什么星象| 做健身教练有什么要求| 雀舌属于什么茶| 吃什么头发长得快| creative是什么意思| 淋球菌培养是检查什么| 每天早上喝一杯蜂蜜水有什么好处| 康庄大道是什么意思| 和能组什么词| 左派是什么意思| 水稻什么时候播种| 为什么会血热| 垂盆草长什么样| 浪子回头是什么意思| 鼻炎吃什么药见效快| 吃凉的胃疼吃什么药| 鱼水之欢是什么意思| 儿童急性肠胃炎吃什么药| 奶粉结块是什么原因| 女人梦见鞋子什么预兆| 神阙穴在什么位置| other什么意思| 节源开流是什么意思| 右脸颊长痘是什么原因| 抗酸杆菌是什么意思| 木加号读什么| 什么的桃花| 高血压属于什么科| 每天吃一个鸡蛋有什么好处| 古字五行属什么| 录取通知书是什么生肖| 乙型肝炎核心抗体阳性是什么意思| 蚂蚁上树是什么意思| 高定是什么意思| 身上总是痒是什么原因| 属牛的婚配什么属相最好| 吃海鲜喝什么酒| 钟馗是什么人物| 368什么意思| 为什么喝咖啡会心慌| 支付宝余额和余额宝有什么区别| 左室高电压是什么意思| toryburch什么牌子| 错付是什么意思| 夫妻都是a型血孩子是什么血型| 什么败走华容道不出所料| 福祉是什么意思| 低血压吃什么水果| 甘草有什么功效| 来月经为什么会拉肚子| 心绞痛吃什么药最管用| 走马观花的走是什么意思| 尿胆原是什么意思| 婴儿呛奶是什么原因引起的| 忌作灶是什么意思| 慢性胰腺炎有什么症状| 拉黑色的屎是什么原因| 碟鱼是什么鱼| 月经有血块是什么原因| 汗是什么味道| 控销药品什么意思| 南红是什么| 1981年属鸡是什么命| 手淫多了有什么坏处| 心肾不交有什么症状| 铁锈是什么颜色的| 家里养什么花最好| 减肥期间晚上可以吃什么| 预防脑梗吃什么药| 新生儿嘴唇发紫是什么原因| 梦见办丧事是什么兆头| 进产房吃什么补充体力| 吃什么东西可以养胃| 冠带什么意思| 天涯是什么意思| 三叉神经痛用什么药| 水奶和奶粉什么区别| 买什么| 丧尽天良什么意思| 盆腔炎吃什么药好得快| 吃什么愈合伤口恢复最快| 幽闭恐惧症是什么| ts是什么意思| 关门弟子是什么意思| 食物中毒挂什么科| 84消毒液不能和什么一起用| 为什么明明很困就是睡不着| 解神是什么意思| 有什么小说| 皮试是什么意思| 慢性胰腺炎吃什么药| 牙根痛吃什么药| 66大寿有什么讲究| 预防医学是干什么的| 生精补精吃什么药最快| 光子是什么| 尿道感染有什么现象| 动脉抽血为什么这么疼| 小孩体质差吃什么能增强抵抗力| 领结婚证需要什么| 脱发严重应该去医院挂什么科| 微创人流和无痛人流有什么区别| 自我价值是什么意思| 舌下腺囊肿挂什么科| april是什么意思| 专员是什么职位| 6.8是什么星座| 百度
Skip to content
Install Git illustration

Install Git

How to install Git on any OS

Git can be installed on the most common operating systems like Windows, Mac, and Linux. In fact, Git comes installed by default on most Mac and Linux machines!

Checking for Git

To see if you already have Git installed, open up your terminal application.

  • If you're on a Mac, look for a command prompt application called "Terminal".
  • If you're on a Windows machine, open the windows command prompt or "Git Bash".

Once you've opened your terminal application, type git version. The output will either tell you which version of Git is installed, or it will alert you that git is an unknown command. If it's an unknown command, read further and find out how to install Git.

Install Git Using GitHub Desktop

Installing GitHub Desktop will also install the latest version of Git if you don't already have it. With GitHub Desktop, you get a command-line version of Git with a robust GUI. Regardless of if you have Git installed or not, GitHub Desktop offers a simple collaboration tool for Git. You can learn more here.

Install Git on Windows

  1. Navigate to the latest Git for Windows installer and download the latest version.
  2. Once the installer has started, follow the instructions as provided in the Git Setup wizard screen until the installation is complete.
  3. Open the windows command prompt (or Git Bash if you selected not to use the standard Git Windows Command Prompt during the Git installation).
  4. Type git version to verify Git was installed.

Note: git-scm is a popular and recommended resource for downloading Git for Windows. The advantage of downloading Git from git-scm is that your download automatically starts with the latest version of Git included with the recommended command prompt, Git Bash . The download source is the same Git for Windows installer as referenced in the steps above.

Install Git on Windows through Visual Studio Code

GitHub integration is provided through the GitHub Pull Requests and Issues extension.
To get started with the GitHub in VS Code, you'll need to create an account and install the GitHub Pull Requests and Issues extension.
Once you've installed the GitHub Pull Requests and Issues extension, you'll need to sign in. Follow the prompts to authenticate with GitHub and return to VS Code.


Note: You can perform actions like, you can search for and clone a repository from GitHub using the Git: Clone command in the Command Palette (Ctrl+Shift+P) or by using the Clone Repository button in the Source Control view (available when you have no folder open).
Learn more here


Install Git on Mac

Most versions of MacOS will already have Git installed, and you can activate it through the terminal with git version. However, if you don't have Git installed for whatever reason, you can install the latest version of Git using one of several popular methods as listed below:

Install Git From an Installer

  1. Navigate to the latest macOS Git Installer and download the latest version.
  2. Once the installer has started, follow the instructions as provided until the installation is complete.
  3. Open the command prompt "terminal" and type git version to verify Git was installed.

Note: git-scm is a popular and recommended resource for downloading Git on a Mac. The advantage of downloading Git from git-scm is that your download automatically starts with the latest version of Git. The download source is the same macOS Git Installer as referenced in the steps above.

Install Git from Homebrew

Homebrew is a popular package manager for macOS. If you already have Homebrew installed, you can follow the below steps to install Git:

  1. Open up a terminal window and install Git using the following command: brew install git.
  2. Once the command output has been completed, you can verify the installation by typing: git version.

Install Git on Linux

Fun fact: Git was originally developed to version the Linux operating system! So, it only makes sense that it is easy to configure to run on Linux.

You can install Git on Linux through the package management tool that comes with your distribution.

Debian/Ubuntu

  1. Git packages are available using apt.
  2. It's a good idea to make sure you're running the latest version. To do so, Navigate to your command prompt shell and run the following command to make sure everything is up-to-date: sudo apt-get update.
  3. To install Git, run the following command: sudo apt-get install git-all.
  4. Once the command output has been completed, you can verify the installation by typing: git version.

Fedora

  1. Git packages are available using dnf.
  2. To install Git, navigate to your command prompt shell and run the following command: sudo dnf install git-all.
  3. Once the command output has been completed, you can verify the installation by typing: git version.

Note: You can download the proper Git versions and read more about how to install on specific Linux systems, like installing Git on Ubuntu or Fedora, in git-scm's documentation.

Other Methods of Installing Git

Looking to install Git via the source code? Learn more here.

Contribute to this article on GitHub.

Get started with git and GitHub

Review code, manage projects, and build software alongside 40 million developers.

Sign up for GitHub Sign in
不速之客的速是什么意思 作风问题的核心是什么 善什么甘什么 吃红枣有什么好处 失眠多梦用什么药
醋酸氯已定是什么药 扁平足看什么科 香叶是什么树叶 食管裂孔疝是什么意思 子宫b超能查出什么来
夏天喝什么好 15天来一次月经是什么原因 降肌酐吃什么药 加仓什么意思 检查头部挂什么科
脚心疼是什么原因 黑布林是什么水果 医保卡是什么样子的 困是什么原因 尿血是什么原因
宫颈纳囊是什么病hcv9jop7ns1r.cn 痛风吃什么食物hcv8jop1ns0r.cn 两侧肋骨疼是什么原因hcv8jop1ns3r.cn 肌无力有什么症状hcv7jop6ns9r.cn 武夷山岩茶属于什么茶hcv8jop8ns2r.cn
什么是胃肠型更年期jiuxinfghf.com 老年人缺钾吃什么好hcv8jop4ns9r.cn 并发症是什么意思hcv8jop1ns8r.cn 为什么高铁没有e座hcv8jop3ns1r.cn cp组合什么意思hcv9jop0ns1r.cn
乌龟一般吃什么hcv8jop2ns4r.cn 孕妇牙龈出血是什么原因shenchushe.com 基础代谢率是什么意思hcv8jop4ns8r.cn 降低转氨酶吃什么药hcv9jop4ns1r.cn 微量元素检查挂什么科hcv9jop1ns8r.cn
调理是什么意思hcv7jop9ns8r.cn 头疼吃什么药好hcv9jop4ns2r.cn 鸭子吃什么食物hcv7jop5ns4r.cn 恩惠是什么意思hcv8jop3ns1r.cn 男人为什么会晨勃hcv8jop2ns6r.cn
百度