[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-686585-105":59,"doc-detail-686585-en":130,"doc-similar-686585":158},{"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-git-version-control-system-an-introduction-to-the-git-version-control-system-felix-gruber","The Git version control system - An introduction to the Git version control system - Felix Gruber","","An introduction to the Git version control system, covering why version control matters and how Git supports understanding changes, simplifying collaboration, and aiding debugging. The material explains core concepts such as repositories, commit structure, and the history graph as a directed acyclic graph with branches and tags. It also guides first-time setup, repository creation, adding changes to the index, reviewing differences, and creating commits, while outlining next steps for branching, remote collaboration, best practices, and further reading.",{"@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-git-version-control-system-an-introduction-to-the-git-version-control-system-felix-gruber/686585/",{"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-git-version-control-system-an-introduction-to-the-git-version-control-system-felix-gruber/686585.png","ImageObject",300,407,{"name":92,"@type":93},"lugxt","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28","2026-11-07",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is version control and what does Git provide?","Question",{"text":112,"@type":113},"Version control maintains a repository of older versions, compares different versions to understand changes, and enables cooperative writing of code or other text. Git provides these capabilities through its version history and commit-based workflow.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why should developers use version control and Git specifically?",{"text":117,"@type":113},"Version control helps developers understand changes, especially when multiple developers contribute. It simplifies merging changes and supports debugging regressions, and Git is widely used with extensive tutorials and community resources.",{"name":119,"@type":110,"acceptedAnswer":120},"What steps are involved in creating a Git repository and making the first commits?",{"text":121,"@type":113},"First, configure user name and email for commits. Then create a repository using cloning or git init, add changes to the index with git add, inspect changes using git show or git diff --cached, and create commits with git commit using an editor for the message.","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},686585,1794057221,{"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":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":81,"preview_urls":145},3985747862600,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","An introduction to the Git version control system  \nFelix Gruber  \nIGPM, RWTH Aachen  \nFebruary 22, 2018 IGPM Oberseminar  \n Felix Gruber (IGPM)  The Git version control system  February 22, 2018 1 / 26   \nOutline  \n1 Versioncontrol using Git  \n2 Basic Commands  \n3 Working with Branches  \n4 Collaborating via Remote Repositories  \n5 Best Practices  \n6 Further Reading  \n7 Questions and Answers  \n Felix Gruber (IGPM)  The Git version control system  February 22, 2018 2 / 26   \nWhat Is Versioncontrol?  \n a repository of all older versions of your code  \n a tool to compare diﬀerent versions and understand changes  \n a framework to cooperatively write code (or other text)  \n Felix Gruber (IGPM)  The Git version control system  February 22, 2018 3 / 26   \nVersioncontrol using Git  \nWhy use versioncontrol?  \n understand changes in your code → indespensable when working with other developers  \n Simpliﬁes merging changes from diﬀerent developers  \n helps when debugging regressions Why use Git?  \n by now the most commonly used VCS → high probability that you will later get involved in a project using Git; large amount of helpful Tutorials, StackOverﬂow threads, etc.  \n decentral → local access to the whole history of your code, thus many operations can be done much faster than [e.g. in](e.g. in) SVN.  \n Felix Gruber (IGPM)  The Git version control system  February 22, 2018 4 / 26   \nVersioncontrol using Git  \nWhere to use Git?  \n writing code  \n writing papers  \n tracking changes in conﬁguration ﬁles like . bashrc, .vimrc, etc. for this you might want to look at specialized Git wrappers like vcsh  \n my 10k lines long . bib ﬁle  \n generally: anything mostly text based, especially if you want to collaborate on it with other people  \n Felix Gruber (IGPM)  The Git version control system  February 22, 2018 5 / 26   \nExample History Graph  \nHEAD  \nmaster  \nfeature/foo  \nFigure: Git’s version history is a directed acyclic graph (DAG) and its branches and tags are named pointers to commits  \nSee git help glossary for terminology.  \n Felix Gruber (IGPM)  The Git version control system  February 22, 2018 6 / 26   \nWhat Does a Commit Look Like?  \ncommit b40c51576b644ebc61d5f644d73dbfd5e6bab777  \nAuthor: Felix Gruber \u003C[gruber@igpm.rwth-aachen.de](gruber@igpm.rwth-aachen.de)>  \nAuthorDate: Tue Feb 20 18:59:53 2018 +0100  \nCommitter: Felix Gruber \u003C[gruber@igpm.rwth-aachen.de](gruber@igpm.rwth-aachen.de)>  \nCommitDate: Tue Feb 20 18:59:53 2018 +0100  \nParentCommit(s): 82e9c34d7dfa7148b3aabf91479c26e05f340352  \nshort description of commit  \nThis is an example for a Git commit which is identified by its commit hash (the cryptic hex code above) .  \nAfter the short one-line description it is customary to include a longer description of your changes and clarify why they were done .  \n\u003Chash of file tree of version represented by this commit>  Felix Gruber (IGPM)  The Git version control system  February 22, 2018 7 / 26   \nFirst Time Setup  \n Set user name and email address for commits:  \ngit config--global [user.name](user.name) \"Your Name\"  \ngit config--global [user.email](user.email) [name@igpm.rwth-aachen.de](name@igpm.rwth-aachen.de)  \n For old versions of Git: set colored output for git diff , git status , etc.  \ngit config--global color .ui auto  \n Set editor for commit messages, etc.  \ngit config--global core .editor nano  \n(default is $EDITOR, or if unset vi)  \n Felix Gruber (IGPM)  The Git version control system  February 22, 2018 8 / 26   \nCreating a Git Repository  \n cloning an existing repository  \ngit clone [https://example.com/remote_repository.git](https://example.com/remote_repository.git)[ ](https://example.com/remote_repository.git) creating a new repository  \ngit init hello_world  \n Felix Gruber (IGPM)  The Git version control system  February 22, 2018 9 / 26   \nCreating commits  \nworking directory → index → commit  \n1 add changes to index git add filename or graphical frontend: git gui  \n2 see which changes get commited  \ngit show  \ngit d","cbCaiuFrQZhbGEW0","https://ap.wps.com/l/cbCaiuFrQZhbGEW0","pdf",217579,28,"English","# Outline\n## Versioncontrol using Git\n## Basic Commands\n## Working with Branches\n## Collaborating via Remote Repositories\n## Best Practices\n## Further Reading\n## Questions and Answers","[{\"question\":\"What is version control and what does Git provide?\",\"answer\":\"Version control maintains a repository of older versions, compares different versions to understand changes, and enables cooperative writing of code or other text. Git provides these capabilities through its version history and commit-based workflow.\"},{\"question\":\"Why should developers use version control and Git specifically?\",\"answer\":\"Version control helps developers understand changes, especially when multiple developers contribute. It simplifies merging changes and supports debugging regressions, and Git is widely used with extensive tutorials and community resources.\"},{\"question\":\"What steps are involved in creating a Git repository and making the first commits?\",\"answer\":\"First, configure user name and email for commits. Then create a repository using cloning or git init, add changes to the index with git add, inspect changes using git show or git diff --cached, and create commits with git commit using an editor for the message.\"}]","The Git version control system - An introduction to the Git version control system - Felix Gruber | PDF",71,[146,150,154],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/8d971d391cc1808dea5d15df9e5a551b.webp",983,737,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/8692f351bc3b41ba66ababea4d05fda7.webp",982,736,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/964b29660015ddc837d1d3e6e64d00ed.webp",981,735,{"list":159,"token":66},[160,166,172,178,184,190,196,202,208,213],{"doc_id":161,"doc_title":162,"file_type":137,"home_preview_img_url":163,"slug":164,"view_count":24,"category_name":30,"create_tm":165},693048,"Project Management with Git - Basics - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005055460/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=fyMOvcSG9zUBIdfaMshpXKbk5kM%3D","project-management-with-git-basics-introduction",1794246583,{"doc_id":167,"doc_title":168,"file_type":137,"home_preview_img_url":169,"slug":170,"view_count":34,"category_name":30,"create_tm":171},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=1796110199&Signature=3XSx5zPSZMGtumC%2FGb7sk8xMhls%3D","git-guide-git-collaboration-and-core-commands",1793958643,{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":4,"category_name":30,"create_tm":177},760732,"Version-Control-and-collaboration-with-Git - Git basics, workflow, and terminology","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044524234/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=zYPXSCA%2F45xFZHBucfEV9ApJM0k%3D","version-control-and-collaboration-with-git-git-basics-workflow-and-terminology",1795908758,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":8,"category_name":30,"create_tm":183},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=1796110199&Signature=WUr2r6rf08S0xk8pil7cKVT0i6A%3D","git-a-practical-beginner-friendly-guide-to-version-control-from-your-first-commit-to-branching-merging-github",1795898473,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":29,"category_name":30,"create_tm":189},657566,"Git and GitHub Terms and Diagrams - Presenter Steve Baskauf","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975111111/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=mbiwKgNJAxsmYiO4YFcTaPXUplw%3D","git-and-github-terms-and-diagrams-presenter-steve-baskauf",1792983193,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":81,"category_name":30,"create_tm":195},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=1796110199&Signature=oD1BTjLrHIBEglxrRjmHEAe5Sh8%3D","version-control-with-git",1794246596,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":8,"category_name":30,"create_tm":201},760727,"The Modern Git & GitHub Guide - A Beginner-to-Professional Quick Reference - 2026 Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044249572/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=pKbFrga8b6f%2BExxEkdDT4FQYxL4%3D","the-modern-git-github-guide-a-beginner-to-professional-quick-reference-2026-edition",1795908750,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":8,"category_name":30,"create_tm":207},760726,"Git and GitHub Primer - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044524182/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=aZp58xZrZWXxqCck5Yz5qkYV0Is%3D","git-and-github-primer-read-online-free",1795908748,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":14,"category_name":30,"create_tm":183},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=1796110199&Signature=NwdVHREoJPPDfWqow53YzNznV6Q%3D","git-0-to-pro-reference",{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":8,"category_name":30,"create_tm":218},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=1796110199&Signature=MjQNSBtWDguSzLrpeKIc0zL%2F%2Fyk%3D","pro-git-version-21424-read-online-free",1795898482]