{"id":69,"date":"2024-07-30T06:49:31","date_gmt":"2024-07-30T06:49:31","guid":{"rendered":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/chapter\/installing-and-configuring-git\/"},"modified":"2026-03-16T14:29:17","modified_gmt":"2026-03-16T14:29:17","slug":"installing-and-configuring-git","status":"publish","type":"chapter","link":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/chapter\/installing-and-configuring-git\/","title":{"raw":"Installing and Configuring Git","rendered":"Installing and Configuring Git"},"content":{"raw":"<div class=\"installing-and-configuring-git\">\n<p class=\"import-Normal\"><a class=\"rId35\" href=\"https:\/\/boisestate.hosted.panopto.com\/Panopto\/Pages\/Viewer.aspx?id=5b8af3aa-aa58-41e7-96fd-b0f101358754\">Lecture: Installing Git on MacOS<\/a><\/p>\n<p class=\"import-Normal\"><a class=\"rId36\" href=\"https:\/\/boisestate.hosted.panopto.com\/Panopto\/Pages\/Viewer.aspx?id=5b8af3aa-aa58-41e7-96fd-b0f101358754\">Lecture: Configuring VSCode with Git<\/a><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\"><a class=\"rId37\" href=\"https:\/\/git-scm.com\/download\">Download Git<\/a> - Visit this website to download Git for your operating system.<\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Choose your operating system and download the latest stable release.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2024\/07\/image16-1.png\" alt=\"image\" width=\"384px\" height=\"233.701312335958px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n\n<h3><a id=\"_e6ort2tvcugm\" href=\"\"><\/a>Downloading Git for MacOS<\/h3>\n<p class=\"import-Normal\">Click on macOS. It should take you to a page with instructions for installing Git.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image38-1.png\" alt=\"image\" width=\"384px\" height=\"147.266981627297px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Open a terminal by pressing \"Command + Space\" and type \"terminal\". Choose the application named Terminal.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image63-1.png\" alt=\"image\" width=\"384px\" height=\"87.2328608923884px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">If you don't already have it, install Homebrew by copying the line of code on the<a class=\"rId41\" href=\"https:\/\/brew.sh\/\"> Homebrew site<\/a>. Paste it into the terminal and press enter. If you don't know if you have it or not, try installing Git and if it fails, install Homebrew.<\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image119-1.png\" alt=\"image\" width=\"384px\" height=\"224.925669291339px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Don't forget to run the commands given by Next Steps after Homebrew is installed.<\/p>\n<p class=\"import-Normal\"><strong><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image113-1.png\" alt=\"image\" width=\"591px\" height=\"378px\"><\/strong><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Install Git by running brew install git<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image92-1.png\" alt=\"image\" width=\"384px\" height=\"240px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Run git on the command line to ensure it was installed successfully.<\/p>\n<p class=\"import-Normal\">To run git, type git and press enter.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image90-1.png\" alt=\"image\" width=\"384px\" height=\"270.315800524934px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">If git runs, you're done! If not, make sure you installed Homebrew correctly, including adding brew to your PATH.<\/p>\n\n<h3><a id=\"_dv4klbhnc2xs\" href=\"\"><\/a>Downloading Git for Windows<\/h3>\n<p class=\"import-Normal\">After the installer downloads, run the installer. Click Next.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image123-1.png\" alt=\"image\" width=\"384px\" height=\"292.335433070866px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">The default path is fine. Click Next.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image49-2.png\" alt=\"image\" width=\"384px\" height=\"293.503202099738px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">If you want a Desktop Icon, check the box next to \"On the Desktop\". You won't really need to run the Git GUI, so you probably won't directly run this program. You likely won't need the icon, but that's up to you.<\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">If you want to be able to right click and see \"Open Git Bash\" or \"Open Git GUI\" from the file explorer, check the boxes next to<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Windows Explorer integration<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 72pt;text-indent: 18pt\">Open Git Bash here<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 72pt;text-indent: 18pt\">Open Git GUI here<\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Make sure to check the boxes next to<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Git LFS<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Associate .Git* configuration files with the default text editor<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Associate .sh files to be run with Bash<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Add a Git Bash Profile to Windows Terminal<\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Uncheck the box next to<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Scalar (Git add-on to manage large-scale repositories)<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 0pt\"><\/p>\n<p class=\"import-Normal\">Click Next.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image47.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image52-1.png\" alt=\"image\" width=\"384px\" height=\"127.344461942257px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Choose what you want to name the shortcuts in your Start Menu or click \"Don't create a Start Menu folder\" if you don't want the shortcut. Click Next.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image1-1.png\" alt=\"image\" width=\"384px\" height=\"292.923044619423px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Choose \"Visual Studio Code as Git's default editor\". Click Next.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image115-1.png\" alt=\"image\" width=\"384px\" height=\"293.310656167979px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Either of these options is fine. Traditionally, your main branch on Git is named the \"master branch\". Branches are how you test out features; you switch branches to make a copy of the code to toy around with features without breaking the main build. When your feature is ready, you merge it back onto the \"master branch\". However, recently, this has come up as perhaps inappropriate, and so Git is working to rename it.<\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">If you want to rename your main branch now, choose the second option. If you want to leave it until Git officially renames it, choose the first option. Either option is fine.<\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Click Next.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image65-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Choose \"Git from the command line and also from 3rd-party software\". You need to check this so that VS Code can access Git.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image27-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Choose \"Use bundled OpenSSH\". Click Next.<\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image30-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Choose \"Use the OpenSSL library\". Click Next.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image2-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Choose \"Checkout as-is, commit Unix-style line endings\". This helps preserve formatting when getting code to and from GitHub. Click Next.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image85-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Choose \"Use MinTTY\". Click Next.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image116-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Choose \"Only ever fast-forward\". Click Next.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image83-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Choose if you'd like to use the Credential Manager. I'm only connecting VSCode with GitHub, so I don't need it. You can always reinstall to add features if you find out that you do need it later. Click Next.<\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image31-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Check both boxes. Click Next.<\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image48-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Uncheck both boxes. Click Install.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image43-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">You're all done! You don't need to launch Git or view the release notes unless you want to. Click Finish.<\/p>\n<p class=\"import-Normal\"><img src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image44-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\"><\/p>\n<p class=\"import-Normal\"><\/p>\n<p class=\"import-Normal\">Git is installed!<\/p>\n<p class=\"import-Normal\"><\/p>\n\n<\/div>","rendered":"<div class=\"installing-and-configuring-git\">\n<p class=\"import-Normal\"><a class=\"rId35\" href=\"https:\/\/boisestate.hosted.panopto.com\/Panopto\/Pages\/Viewer.aspx?id=5b8af3aa-aa58-41e7-96fd-b0f101358754\">Lecture: Installing Git on MacOS<\/a><\/p>\n<p class=\"import-Normal\"><a class=\"rId36\" href=\"https:\/\/boisestate.hosted.panopto.com\/Panopto\/Pages\/Viewer.aspx?id=5b8af3aa-aa58-41e7-96fd-b0f101358754\">Lecture: Configuring VSCode with Git<\/a><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\"><a class=\"rId37\" href=\"https:\/\/git-scm.com\/download\">Download Git<\/a> &#8211; Visit this website to download Git for your operating system.<\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Choose your operating system and download the latest stable release.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2024\/07\/image16-1.png\" alt=\"image\" width=\"384px\" height=\"233.701312335958px\" \/><\/p>\n<p class=\"import-Normal\">\n<h3><a id=\"_e6ort2tvcugm\" href=\"\"><\/a>Downloading Git for MacOS<\/h3>\n<p class=\"import-Normal\">Click on macOS. It should take you to a page with instructions for installing Git.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image38-1.png\" alt=\"image\" width=\"384px\" height=\"147.266981627297px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Open a terminal by pressing &#8220;Command + Space&#8221; and type &#8220;terminal&#8221;. Choose the application named Terminal.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image63-1.png\" alt=\"image\" width=\"384px\" height=\"87.2328608923884px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">If you don&#8217;t already have it, install Homebrew by copying the line of code on the<a class=\"rId41\" href=\"https:\/\/brew.sh\/\"> Homebrew site<\/a>. Paste it into the terminal and press enter. If you don&#8217;t know if you have it or not, try installing Git and if it fails, install Homebrew.<\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image119-1.png\" alt=\"image\" width=\"384px\" height=\"224.925669291339px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Don&#8217;t forget to run the commands given by Next Steps after Homebrew is installed.<\/p>\n<p class=\"import-Normal\"><strong><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image113-1.png\" alt=\"image\" width=\"591px\" height=\"378px\" \/><\/strong><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Install Git by running brew install git<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image92-1.png\" alt=\"image\" width=\"384px\" height=\"240px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Run git on the command line to ensure it was installed successfully.<\/p>\n<p class=\"import-Normal\">To run git, type git and press enter.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image90-1.png\" alt=\"image\" width=\"384px\" height=\"270.315800524934px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">If git runs, you&#8217;re done! If not, make sure you installed Homebrew correctly, including adding brew to your PATH.<\/p>\n<h3><a id=\"_dv4klbhnc2xs\" href=\"\"><\/a>Downloading Git for Windows<\/h3>\n<p class=\"import-Normal\">After the installer downloads, run the installer. Click Next.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image123-1.png\" alt=\"image\" width=\"384px\" height=\"292.335433070866px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">The default path is fine. Click Next.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image49-2.png\" alt=\"image\" width=\"384px\" height=\"293.503202099738px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">If you want a Desktop Icon, check the box next to &#8220;On the Desktop&#8221;. You won&#8217;t really need to run the Git GUI, so you probably won&#8217;t directly run this program. You likely won&#8217;t need the icon, but that&#8217;s up to you.<\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">If you want to be able to right click and see &#8220;Open Git Bash&#8221; or &#8220;Open Git GUI&#8221; from the file explorer, check the boxes next to<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Windows Explorer integration<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 72pt;text-indent: 18pt\">Open Git Bash here<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 72pt;text-indent: 18pt\">Open Git GUI here<\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Make sure to check the boxes next to<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Git LFS<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Associate .Git* configuration files with the default text editor<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Associate .sh files to be run with Bash<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Add a Git Bash Profile to Windows Terminal<\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Uncheck the box next to<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 18pt\">Scalar (Git add-on to manage large-scale repositories)<\/p>\n<p class=\"import-Normal\" style=\"margin-left: 36pt;text-indent: 0pt\">\n<p class=\"import-Normal\">Click Next.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image47.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image52-1.png\" alt=\"image\" width=\"384px\" height=\"127.344461942257px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Choose what you want to name the shortcuts in your Start Menu or click &#8220;Don&#8217;t create a Start Menu folder&#8221; if you don&#8217;t want the shortcut. Click Next.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image1-1.png\" alt=\"image\" width=\"384px\" height=\"292.923044619423px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Choose &#8220;Visual Studio Code as Git&#8217;s default editor&#8221;. Click Next.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image115-1.png\" alt=\"image\" width=\"384px\" height=\"293.310656167979px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Either of these options is fine. Traditionally, your main branch on Git is named the &#8220;master branch&#8221;. Branches are how you test out features; you switch branches to make a copy of the code to toy around with features without breaking the main build. When your feature is ready, you merge it back onto the &#8220;master branch&#8221;. However, recently, this has come up as perhaps inappropriate, and so Git is working to rename it.<\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">If you want to rename your main branch now, choose the second option. If you want to leave it until Git officially renames it, choose the first option. Either option is fine.<\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Click Next.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image65-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Choose &#8220;Git from the command line and also from 3rd-party software&#8221;. You need to check this so that VS Code can access Git.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image27-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Choose &#8220;Use bundled OpenSSH&#8221;. Click Next.<\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image30-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Choose &#8220;Use the OpenSSL library&#8221;. Click Next.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image2-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Choose &#8220;Checkout as-is, commit Unix-style line endings&#8221;. This helps preserve formatting when getting code to and from GitHub. Click Next.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image85-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Choose &#8220;Use MinTTY&#8221;. Click Next.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image116-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Choose &#8220;Only ever fast-forward&#8221;. Click Next.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image83-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Choose if you&#8217;d like to use the Credential Manager. I&#8217;m only connecting VSCode with GitHub, so I don&#8217;t need it. You can always reinstall to add features if you find out that you do need it later. Click Next.<\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image31-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Check both boxes. Click Next.<\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image48-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Uncheck both boxes. Click Install.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image43-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">You&#8217;re all done! You don&#8217;t need to launch Git or view the release notes unless you want to. Click Finish.<\/p>\n<p class=\"import-Normal\"><img decoding=\"async\" src=\"https:\/\/libraryresources.nse.org.ng\/wp-content\/uploads\/sites\/21\/2026\/03\/image44-1.png\" alt=\"image\" width=\"384px\" height=\"293.531338582677px\" \/><\/p>\n<p class=\"import-Normal\">\n<p class=\"import-Normal\">Git is installed!<\/p>\n<p class=\"import-Normal\">\n<\/div>\n","protected":false},"author":1,"menu_order":5,"template":"","meta":{"pb_show_title":"","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[49],"contributor":[],"license":[],"class_list":["post-69","chapter","type-chapter","status-publish","hentry","chapter-type-numberless"],"part":18,"_links":{"self":[{"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/pressbooks\/v2\/chapters\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/pressbooks\/v2\/chapters\/69\/revisions"}],"predecessor-version":[{"id":70,"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/pressbooks\/v2\/chapters\/69\/revisions\/70"}],"part":[{"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/pressbooks\/v2\/parts\/18"}],"metadata":[{"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/pressbooks\/v2\/chapters\/69\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/pressbooks\/v2\/chapter-type?post=69"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/wp\/v2\/contributor?post=69"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/libraryresources.nse.org.ng\/computersciencetwo\/wp-json\/wp\/v2\/license?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}