[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-682033-105":59,"doc-detail-682033-en":122,"doc-similar-682033":152},{"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":115,"head_meta":117,"extra_data":119,"updated_unix":121},105,"en","a-tutorial-for-git-and-github-learn-how-to-use-git-and-github","A Tutorial for Git and GitHub - Learn how to use Git and GitHub","","A tutorial introduction to version (source) control systems and the roles of Git and GitHub in modern software development. It explains why version control is needed through practical scenarios where working code breaks after small changes, and how teams face integration and merging challenges. The material covers the basic concepts of version control systems, core definitions of Git and GitHub, and initial setup guidance using GitHub Desktop, emphasizing collaboration and traceability across versions.",{"@graph":69,"@context":114},[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/a-tutorial-for-git-and-github-learn-how-to-use-git-and-github/682033/",{"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/a-tutorial-for-git-and-github-learn-how-to-use-git-and-github/682033.png","ImageObject",300,407,{"name":92,"@type":93},"Melati","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-20","2026-11-06",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108],{"name":109,"@type":110,"acceptedAnswer":111},"How does version control help when working with a team?","Question",{"text":112,"@type":113},"Team scenarios show that changes can work individually but fail when combined. Version control records and helps identify all changes, and supports merging updates from multiple contributors.","Answer","https://schema.org",{"og:url":83,"og:type":116,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":118,"canonical":83},"index,follow",{"doc_id":120,"site_id":62},682033,1793958634,{"code":4,"msg":5,"data":123},{"doc_id":120,"user_id":124,"nickname":92,"user_avatar":125,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":126,"file_id":127,"file_url":128,"file_type":129,"file_size":130,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":131,"language":132,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":133,"faqs":134,"seo_title":135,"seo_description":67,"update_tm":121,"read_time":136,"preview_page_count":19,"preview_urls":137},962085570644,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","A Tutorial for Git and GitHub  \nXiao Li  \nDepartment of Informatics University of Zurich  \nAgenda  \n􀂄 Why use Version (Source) Control Systems  \n􀂄 What are Git and GitHub  \n􀂄 Basic Git Commands  \n􀂄 Fundamentals of GitHub  \n􀂄 Using GitHub in Project Implementation  \nWhy version control?  \n􀂄 Scenario 1:  \n􀂅 Your program is working  \n􀂅 You change “just one thing”  \n􀂅 Your program breaks  \n􀂅 You change it back  \n􀂅 Your program is still broken--why?  \n􀂄 Has this ever happened to you?  \nWhy version control? (part 2)  \n􀂄 Your program worked well enough yesterday  \n􀂄 You made a lot of improvements last night. . .  \n􀂅 ...but you haven't gotten them to work yet  \n􀂄 You need to turn in your program now  \n􀂄 Has this ever happened to you?  \nVersion control for teams  \n􀂄 Scenario:  \n􀂅 You change one part of a program--it works  \n􀂅 Your co-worker changes another part--it works  \n􀂅 You put them together--it doesn’t work  \n􀂅 Some change in one part must have broken something in the other part  \n􀂅 What were all the changes?  \nTeams (part 2)  \n􀂄 Scenario:  \n􀂅 You make a number of improvements to a class  \n􀂅 Your co-worker makes a number of different improvements to the same class  \n􀂄 How can you merge these changes?  \nVersion control systems  \n􀂄 A version control system (often called a source code control system) does these things:  \n􀂅 Keeps multiple (older and newer) versions of everything (not just source code)  \n􀂅 Requests comments regarding every change  \n􀂅 Allows “check in” and “check out” of files so you know which files someone else is working on  \n􀂅 Displays differences between versions  \nBenefits of version control  \n􀂄 For working by yourself:  \n􀂅 Gives you a “time machine” for going back to earlier versions  \n􀂅 Gives you great support for different versions (standalone, web app, etc.) of the same basic project  \n􀂄 For working with others:  \n􀂅 Greatly simplifies concurrent work, merging changes  \nWhat are Git and GitHub  \n􀂄 Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency  \n􀂄 GitHub is a web-based Git repository hosting service, which offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features.  \nHow to setup Git and GitHub  \n􀂄 Download and install the latest version of GitHub Desktop. This will automatically install Git and keep it upto-date for you.  \n􀂄 [https://help.github.com/articles/set-up-git/](https://help.github.com/articles/set-up-git/)","cbCailQynks3SjTx","https://ap.wps.com/l/cbCailQynks3SjTx","pdf",406814,31,"English","# Agenda\n## Why use Version (Source) Control Systems\n## What are Git and GitHub\n## Basic Git Commands\n## Fundamentals of GitHub\n## Using GitHub in Project Implementation","[{\"question\":\"How does version control help when working with a team?\",\"answer\":\"Team scenarios show that changes can work individually but fail when combined. Version control records and helps identify all changes, and supports merging updates from multiple contributors.\"}]","A Tutorial for Git and GitHub - Learn how to use Git and GitHub | PDF",78,[138,142,145,149],{"page_no":8,"url":139,"width":140,"height":141},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1daa7a94bd442661113bcd4f287840d5.webp",983,552,{"page_no":14,"url":143,"width":144,"height":141},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d204d030ad4992d1f370261cafd9465f.webp",982,{"page_no":81,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/56438760ce9cafc4559d58d07d0576fd.webp",981,551,{"page_no":19,"url":150,"width":151,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c5ef7c9d111312912bb367a824d36bff.webp",980,{"list":153,"token":66},[154,160,166,172,178,184,190,196,202,208],{"doc_id":155,"doc_title":156,"file_type":129,"home_preview_img_url":157,"slug":158,"view_count":34,"category_name":30,"create_tm":159},693044,"Git and GitHub Primer - Introduction to Programming Systems COS 217","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005055419/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=jQkFZkOKqSQbiKwewTEXj6wnHJU%3D","git-and-github-primer-introduction-to-programming-systems-cos-217",1794246576,{"doc_id":161,"doc_title":162,"file_type":129,"home_preview_img_url":163,"slug":164,"view_count":8,"category_name":30,"create_tm":165},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=1796117759&Signature=TQIVapMVLvwEhAu1GjdTvC4ymrs%3D","github-for-developers-training-manual-v10",1795908755,{"doc_id":167,"doc_title":168,"file_type":129,"home_preview_img_url":169,"slug":170,"view_count":8,"category_name":30,"create_tm":171},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=1796117759&Signature=7Y2eYEB%2FGAi%2BHr%2FAVEXIK97vVtE%3D","git-and-github-primer-read-online-free",1795908748,{"doc_id":173,"doc_title":174,"file_type":129,"home_preview_img_url":175,"slug":176,"view_count":8,"category_name":30,"create_tm":177},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=1796117759&Signature=bYnJJY4EXpnTT1DdrzRRAInxIeA%3D","the-modern-git-github-guide-a-beginner-to-professional-quick-reference-2026-edition",1795908750,{"doc_id":179,"doc_title":180,"file_type":129,"home_preview_img_url":181,"slug":182,"view_count":29,"category_name":30,"create_tm":183},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=1796117759&Signature=2f%2BKqT8YxVlC3MePMjHdrzykheY%3D","a-practical-guide-to-git-and-github-for-windows-users-from-beginner-to-expert-easy-step-by-step-exercises",1793958635,{"doc_id":185,"doc_title":186,"file_type":129,"home_preview_img_url":187,"slug":188,"view_count":8,"category_name":30,"create_tm":189},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=1796117759&Signature=21Hyfk3yzM8PiK7pRj%2B6IYn4EJM%3D","pro-git-version-21424-read-online-free",1795898482,{"doc_id":191,"doc_title":192,"file_type":129,"home_preview_img_url":193,"slug":194,"view_count":8,"category_name":30,"create_tm":195},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=1796117759&Signature=xr5YHinQN95UCT8g%2FZQmtU%2BAOAo%3D","git-a-practical-beginner-friendly-guide-to-version-control-from-your-first-commit-to-branching-merging-github",1795898473,{"doc_id":197,"doc_title":198,"file_type":129,"home_preview_img_url":199,"slug":200,"view_count":34,"category_name":30,"create_tm":201},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=1796117759&Signature=Gc%2FjwNTn6Q9ow2Oxj7zxkAKIezs%3D","git-guide-git-collaboration-and-core-commands",1793958643,{"doc_id":203,"doc_title":204,"file_type":129,"home_preview_img_url":205,"slug":206,"view_count":4,"category_name":30,"create_tm":207},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=1796117759&Signature=igfqzhxQR%2BneP5s7OEudFzzY8dM%3D","version-control-and-collaboration-with-git-git-basics-workflow-and-terminology",1795908758,{"doc_id":209,"doc_title":210,"file_type":129,"home_preview_img_url":211,"slug":212,"view_count":24,"category_name":30,"create_tm":213},686583,"VERSION CONTROL WITH GIT AND GITHUB - Intro to version control","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001039764/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=Q7PCRZ4AJ9%2BNGB5qMgzcpg2bpfc%3D","version-control-with-git-and-github-intro-to-version-control",1794057215]