{"id":22433008,"url":"https://github.com/roerohan/incore-session-on-git","last_synced_at":"2026-01-07T01:05:55.472Z","repository":{"id":99031030,"uuid":"187353488","full_name":"roerohan/Incore-Session-on-Git","owner":"roerohan","description":"Incore session on Git and GitHub.","archived":false,"fork":false,"pushed_at":"2020-01-09T11:21:40.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T12:46:14.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roerohan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-18T12:10:36.000Z","updated_at":"2021-10-27T22:56:46.000Z","dependencies_parsed_at":"2023-05-15T12:00:21.986Z","dependency_job_id":null,"html_url":"https://github.com/roerohan/Incore-Session-on-Git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roerohan%2FIncore-Session-on-Git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roerohan%2FIncore-Session-on-Git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roerohan%2FIncore-Session-on-Git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roerohan%2FIncore-Session-on-Git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roerohan","download_url":"https://codeload.github.com/roerohan/Incore-Session-on-Git/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245806136,"owners_count":20675294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T22:13:28.497Z","updated_at":"2026-01-07T01:05:55.434Z","avatar_url":"https://github.com/roerohan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introductory Session on Git and GitHub\n\nIncore session on Git and GitHub.\n\n## Table of Contents\n- [Requirements](#requirements)\n- [Why Git or GitHub?](#why-git-or-github)\n- [Using Git](#using-git)\n- [GitHub](#github)\n- [CodeHub](#codehub)\n\n## Requirements\n1. [git](https://git-scm.com/downloads)\n2. [GitHub Account](https://education.github.com/pack)\n3. A Text Editor - [VSCode](https://code.visualstudio.com/download)\n\n## Why Git or GitHub?\n- What is Git?\n- What is GitHub?\n- Importance\n- What is a remote repository?\n- What is a local repository?\n\n## Using Git\n- Basic Commands:\n    * git init\n    * git add\n    * git commit\n    * git push\n    * git pull\n    * git status\n\n```\nLive Demo\n- Create a Repository\n- Add collaborators (groups of 2)\n- Clone the repository\n- Open the repository on VSCode\n- Make changes to the repository (target.md).\n- Pull the changes made by others.\n- Push to remote repository\n```\n\n- Other Useful Commands:\n    * git branch (concept, **Forks**)\n    * git checkout\n    * git remote (concept)\n    * git merge\n    * git reset\n    * git diff\n\n```\nLive Demo\n- Merge conflict demonstration\n- Fork main repository\n- Clone the Forked repository\n- Create a branch and checkout to that branch\n- Push the branch (--set-upstream)\n- Checkout to master and merge the new branch\n- Push to master\n- Add remote to main repository\n- Pull from main repository\n- Make Pull Requests\n```\n\n- Setup:\n    * Personal Information: git config\n    * Ignore: .gitignore\n\n## GitHub\n\n- What's .md (Markdown)?\n- Pull Requests\n- Issues\n- Community Convention:\n\n\u003e [Check this](https://github.com/roerohan/vscode-MongoSnippets-NodeJS) for reference\n\n    * Description (and Tags)\n    * README\n    * CONTRIBUTING\n    * PULL REQUEST TEMPLATES\n    * ISSUE TEMPLATES\n    * CODE OF CONDUCT\n    * LICENSE\n\n## CodeHub\n\nMost frequently used commands:\n\n```bash\nStructure: git \u003coperation\u003e \u003coptions\u003e \u003cparameters\u003e\nHelp: git --help\n\ngit init\ngit add . OR git add \u003cfile/folder-names\u003e\ngit commit -m \"message\"\ngit pull\ngit push\n\ngit branch \u003cbranch-name\u003e\ngit checkout \u003cbranch-name\u003e\ngit merge \u003cbranch-name\u003e\ngit branch -d \u003cbranch-name\u003e\ngit branch -D \u003cbranch-name\u003e\n\ngit diff\ngit log\ngit status\ngit fetch\n\ngit remote add \u003cremote-name\u003e \u003curl\u003e\ngit remote rm \u003cremote-name\u003e\n\ngit stash\ngit stash clear\n\ngit reset HEAD\ngit reset HEAD^\ngit reset --hard\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froerohan%2Fincore-session-on-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froerohan%2Fincore-session-on-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froerohan%2Fincore-session-on-git/lists"}