[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-760727-105":59,"doc-detail-760727-en":130,"doc-similar-760727":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","the-modern-git-github-guide-a-beginner-to-professional-quick-reference-2026-edition","The Modern Git & GitHub Guide - A Beginner-to-Professional Quick Reference - 2026 Edition","","The Modern Git & GitHub Guide provides an accelerated path from foundational version control to professional collaboration. It explains how Git records project changes across time, enabling safe undo, efficient branching, merging, and pull-request workflows. Readers learn Git’s core workflow stages (working directory, staging area, local repository, remote repository) and essential commands for init, clone, status, add, commit, log, diff, branch, switch, and merge. It also covers installation, identity setup, and authentication for GitHub.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/the-modern-git-github-guide-a-beginner-to-professional-quick-reference-2026-edition/760727/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/the-modern-git-github-guide-a-beginner-to-professional-quick-reference-2026-edition/760727.png","ImageObject",300,407,{"name":92,"@type":93},"Bingo～","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-11-28",true,{"@type":102,"interactionType":103,"userInteractionCount":8},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does version control solve in a software project?","Question",{"text":112,"@type":113},"Version control tracks file changes over time so you can recall earlier versions and collaborate without overwriting teammates’ work.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the Git workflow move changes between areas?",{"text":117,"@type":113},"Edits happen in the Working Directory, then git add moves them to the Staging Area, git commit saves to the Local Repository, and git push uploads to the Remote Repository.",{"name":119,"@type":110,"acceptedAnswer":120},"Which essential Git commands are covered for day-to-day work?",{"text":121,"@type":113},"The guide includes commands such as git init, git clone, git status, git add, git commit, git log, git diff, git branch, git switch, and git merge.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},760727,1795908750,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":8,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":52,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},1649274312511,"https://us-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","D EVE LOPE R GUID E  \nThe Modern Git & GitHub Guide  \nA Beginner-to-Professional Quick Reference  \n2026 Edition  \n Version Control   Collaboration   Quick Reference  \nFor Students, Fresh ers & Software Developers  \nRead in under 30 minutes        \nCHAPTE R 0 1  \nIntroduction to Version Control  \nVersion control is a system that records changes to files over time so you can recall specific versions later. Think of it as an unlimited \" undo \" button for your entire project. It tracks every modification made by every team member, making it possible to collaborate without overwriting each other 's work.  \nGit is the most widely used distributed version control system, created by Linus Torvalds in 2005. Unlike older centralized systems, Git gives every developer a complete copy of the entire repository history on their local machine. This means you can commit, branch, and merge offline, and operations are incredibly fast because they work with local data.  \nGitHub is a cloud-based platform built around Git that adds collaboration features on top of version control. It provides remote repository hosting, pull requests, code review tools, issue tracking, and a vibrant opensource community with over 100 million repositories.  \nWhy Developers Use Git & GitHub  \n Track every change to your code with full history, author, and timestamp information  \n Collaborate seamlessly with teams through branching, merging, and pull requests  \n Revert mistakes instantly by rolling back to any previous version of a file  \n Build a professional portfolio by publishing projects on GitHub for recruiters to review  \n Automate workflows with GitHub Actions for continuous integration and deployment  \n Contribute to open source and participate in the global developer community  \nThe Git Workflow  \nUnderstanding the four areas of Git is fundamental. Files move between these zones as you work, and each command targets a specific area. The diagram below illustrates this flow:  \n→  \n→  \ngit add → git commit → git push  \n→  \nYour Working Directory is where you edit files.  git add  moves changes to the Staging Area, a preview of your next commit.  git commit  saves them to your Local Repository.  git push  uploads commits to the Remote Repository on GitHub.  \nCHAPTE R 0 2  \nGit Installation & Setup  \nInstallation  \nGit is available for all major operating systems and can be installed in just a few minutes. The installation process varies slightly depending on your platform, but the end result is the same: a powerful command-line tool ready to manage your code. Below are the recommended methods for each operating system.  \n Windows: Download the installer from [git-scm.com/download/win](git-scm.com/download/win)  and run the executable. During setup, keep the default options unless you have specific preferences. Git Bash, a Unix-like terminal included with the installer, is highly recommended for Windows users.  \n macOS: The easiest method is installing Xcode Command Line Tools by running  xcode-selectinstall  in Terminal. Alternatively, use Homebrew with  brew install git  for the latest version.  \n Linux (Debian/Ubuntu) : Run  sudo apt install git . For Fedora, use  sudo dnf install git . For Arch Linux, run  sudo pacman -S git .  \nInitial Configuration  \nAfter installing Git, you need to configure your identity. Git attaches your name and email to every commit you make, which is essential for team collaboration and accountability. The following commands set up your global Git configuration, meaning they apply to all repositories on your machine unless overridden locally.  \nBASH  \n\" color:\\#F472B6 \" > git \" color:\\#60A5FA \" > -version  \n\"color:\\#F472B6\">git config \"color:\\#60A5FA\"> -global [user.name](user.name) \"Your Name\"  \n\"color:\\#F472B6\">git config \"color:\\#60A5FA\"> -global [user.email](user.email) \" [you@example.com](you@example.com) \"  \n\" color:\\#F472B6 \" > git config \" color:\\#60A5FA \" > -list  \n  git-version  verifies that Git is installed correctly and","cbCaiiSWy7B7J8nj","https://ap.wps.com/l/cbCaiiSWy7B7J8nj","pdf",708002,"English","# Introduction to Version Control\n## Why Developers Use Git & GitHub\n## The Git Workflow\n# Git Installation & Setup\n## Installation\n## Initial Configuration\n# Essential Git Commands","[{\"question\":\"What problem does version control solve in a software project?\",\"answer\":\"Version control tracks file changes over time so you can recall earlier versions and collaborate without overwriting teammates’ work.\"},{\"question\":\"How does the Git workflow move changes between areas?\",\"answer\":\"Edits happen in the Working Directory, then git add moves them to the Staging Area, git commit saves to the Local Repository, and git push uploads to the Remote Repository.\"},{\"question\":\"Which essential Git commands are covered for day-to-day work?\",\"answer\":\"The guide includes commands such as git init, git clone, git status, git add, git commit, git log, git diff, git branch, git switch, and git merge.\"}]","The Modern Git & GitHub Guide - A Beginner-to-Professional Quick Reference - 2026 Edition | PDF",25,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/ad2bd761d6855e349695368a49207ba8.webp",983,1391,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/bee614887efc9418244d29971ab0b378.webp",982,1389,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/a31c7fd33e1016310d0d3f209f32faab.webp",981,1388,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/4a3c17806f4ba0fd519c5ad056db4f49.webp",980,1387,{"list":162,"token":66},[163,169,175,181,187,192,198,204,210,216],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":29,"category_name":30,"create_tm":168},682042,"Git and GitHub Guide - Version control basics - Free study notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999332745/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=r4q2gXqcJpX%2Bo165QVZcyVemHjo%3D","git-and-github-guide-version-control-basics-free-study-notes",1793958652,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":8,"category_name":30,"create_tm":174},760091,"Git - A Practical, Beginner-Friendly Guide to Version Control - From Your First Commit to Branching, Merging & GitHub","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044495447/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=vi7RFlUaUjSqW4%2Fo4qIbPvumTII%3D","git-a-practical-beginner-friendly-guide-to-version-control-from-your-first-commit-to-branching-merging-github",1795898473,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":29,"category_name":30,"create_tm":180},682034,"A Practical Guide to Git and GitHub for Windows Users - From Beginner to Expert - Easy Step-By-Step Exercises","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999332552/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=e3gAbhzk0kS%2FiwKGTp1x5F9FJUY%3D","a-practical-guide-to-git-and-github-for-windows-users-from-beginner-to-expert-easy-step-by-step-exercises",1793958635,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":8,"category_name":30,"create_tm":186},760093,"Pro Git - Version 2.1.424 - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044495470/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=EbE3sDaJM1U8E3%2BLNTPEtS%2BJx%2Bs%3D","pro-git-version-21424-read-online-free",1795898482,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":14,"category_name":30,"create_tm":174},760090,"Git-0 to Pro Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044495433/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=ckczu0v26Qs07mvTrGdwyIY4nWI%3D","git-0-to-pro-reference",{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":81,"category_name":30,"create_tm":197},693053,"Version Control with Git","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005055485/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=7KW0b8ldAPyJv6NFnfuVMTE7o8s%3D","version-control-with-git",1794246596,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":34,"category_name":30,"create_tm":203},693045,"Git Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230004257911/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=CkZFV1QIa2RK%2F9kvvXzKDkSO%2Fkw%3D","git-tutorial",1794246577,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":8,"category_name":30,"create_tm":209},760088,"Practical Git - Introduction (And Beyond)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044495431/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=WjT0xGNvOnGX0pkbY5Fw1%2FLHOeU%3D","practical-git-introduction-and-beyond",1795898469,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":34,"category_name":30,"create_tm":215},682038,"Git Guide - Git collaboration and core commands","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999332702/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=qldU51boQPogO7Pra5PG3eii4%2Bc%3D","git-guide-git-collaboration-and-core-commands",1793958643,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":8,"category_name":30,"create_tm":221},760730,"GitHub for Developers Training Manual - v1.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044249605/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111039&Signature=U%2BpthRWA6NcJ3%2BT8B7Be7aD28wc%3D","github-for-developers-training-manual-v10",1795908755]