{"id":25938191,"url":"https://github.com/mhmdsami/gitting-started","last_synced_at":"2025-07-17T02:13:35.709Z","repository":{"id":119271634,"uuid":"554895028","full_name":"mhmdsami/gitting-started","owner":"mhmdsami","description":"Gitting Started: Getting started with Git \u0026 GitHub","archived":false,"fork":false,"pushed_at":"2023-12-15T12:27:55.000Z","size":9,"stargazers_count":3,"open_issues_count":1,"forks_count":19,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T10:02:46.139Z","etag":null,"topics":["git","github"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mhmdsami.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,"zenodo":null}},"created_at":"2022-10-20T15:27:04.000Z","updated_at":"2023-12-14T06:35:55.000Z","dependencies_parsed_at":"2023-12-15T13:39:48.892Z","dependency_job_id":null,"html_url":"https://github.com/mhmdsami/gitting-started","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mhmdsami/gitting-started","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmdsami%2Fgitting-started","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmdsami%2Fgitting-started/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmdsami%2Fgitting-started/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmdsami%2Fgitting-started/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhmdsami","download_url":"https://codeload.github.com/mhmdsami/gitting-started/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmdsami%2Fgitting-started/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259624726,"owners_count":22886328,"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":["git","github"],"created_at":"2025-03-04T03:35:13.428Z","updated_at":"2025-06-13T10:06:34.426Z","avatar_url":"https://github.com/mhmdsami.png","language":"JavaScript","readme":"# Getting started with Git \u0026 GitHub\n\n## Git \u0026 GitHub: An overview\n- Git: In a nutshell.\n- GitHub: Home to most OSS.\n- Alternatives to Git.\n- Alternatives to GitHub.\n\n## Getting Started with Git\n## Installing [`git`](https://git-scm.com/)\n### Linux\nDebian/Ubuntu\n```\napt-get install git\n```\nFedora\n```\nyum install git\n```\nArch Linux\n```\npacman -S git\n```\n### Windows\nInstall using the [Windows Installer](https://git-scm.com/download/win)\nor using `winget`\n```\n winget install --id Git.Git -e --source winget\n```\n### MacOS\nusing `homebrew`\n```\nbrew install git\n```\n## Configuring `git`\n```\ngit config --global user.name [name]\n```\n```\ngit config --global user.email [email]\n```\n## Few Commands in `git`\n- command: `git init`\n```\ngit init\n```\n- command: `git add`\n```\ngit add [filename|dirname]\n```\n```\ngit add *.js\n```\n```\ngit add .\n```\n- command: `git status`\n```\ngit status\n```\n- command: `git commit`\n  - Writing good commit messages.\n```\ngit commit -m [commit_message]\n```\n- command: `git log`\n```\ngit log\n```\n- command: `git remote`\n```\ngit remote add [remote_name] [remote_url]\n```\n```\ngit remote remove [remote_name]\n```\n```\ngit remote -v\n```\n- command: `git clone`\n```\ngit clone [url]\n```\n- command: `git branch`\n```\ngit branch \u003cbranch_name\u003e\n```\n- command: `git checkout`\n```\ngit checkout [branch_name|id|HEAD]\n```\n- command: `git push`\n```\ngit push [remote] [branch]\n```\n- command: `git pull`\n```\ngit pull \u003cremote\u003e \u003cbranch\u003e\n```\n- other commands: `git diff`, `git stash`, `git restore`, `git fetch`, `git rm`, `git rebase`, `git blame`, `git tag`\n\n## GitHub: A quick view\n- Creating an account\n- Creating a repo\n- Pushing changes to the repo\n- Pull Requests\n- Code Reviews\n- Issues\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhmdsami%2Fgitting-started","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhmdsami%2Fgitting-started","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhmdsami%2Fgitting-started/lists"}