{"id":26851547,"url":"https://github.com/dizzpy/git-quick-reference-guide","last_synced_at":"2026-04-17T02:31:16.545Z","repository":{"id":233608510,"uuid":"787542819","full_name":"dizzpy/Git-Quick-Reference-Guide","owner":"dizzpy","description":"A concise guide to commonly used Git commands and workflows, perfect for beginners and those in need of a quick Git refresher.","archived":false,"fork":false,"pushed_at":"2024-04-16T18:29:59.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-14T05:46:25.541Z","etag":null,"topics":["git","github","github-guide"],"latest_commit_sha":null,"homepage":"","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/dizzpy.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":"2024-04-16T18:14:00.000Z","updated_at":"2024-08-11T02:33:00.000Z","dependencies_parsed_at":"2024-05-01T17:46:03.570Z","dependency_job_id":null,"html_url":"https://github.com/dizzpy/Git-Quick-Reference-Guide","commit_stats":null,"previous_names":["dizzpy/git-quick-reference-guide"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dizzpy/Git-Quick-Reference-Guide","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizzpy%2FGit-Quick-Reference-Guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizzpy%2FGit-Quick-Reference-Guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizzpy%2FGit-Quick-Reference-Guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizzpy%2FGit-Quick-Reference-Guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dizzpy","download_url":"https://codeload.github.com/dizzpy/Git-Quick-Reference-Guide/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizzpy%2FGit-Quick-Reference-Guide/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31912319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","github-guide"],"created_at":"2025-03-30T22:32:02.520Z","updated_at":"2026-04-17T02:31:16.521Z","avatar_url":"https://github.com/dizzpy.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Quick Reference Guide\n\n\u003e This is a quick reference guide for beginners to Git version control. It provides step-by-step instructions on common Git commands and workflows, from initializing a repository to collaborating with others and managing project history. Whether you're new to Git or need a refresher, this guide aims to help you navigate through the essential concepts and commands efficiently\n\n## Getting Started\n\n1. **Create a New Repository:** Initialize a new Git repository for your project.\n    ```\n    git init\n    ```\n\n2. **Add Files to the Repository:** Add your project files to the repository.\n    ```\n    git add \u003cfile(s)\u003e\n    ```\n\n3. **Commit Changes with a Message:** Record the changes to the repository.\n    ```\n    git commit -m \"Initial commit\"\n    ```\n\n4. **Connect to a Remote Repository:** Link your local repository to a remote repository on GitHub (replace `\u003crepository-url\u003e` with your GitHub repository URL).\n    ```\n    git remote add origin \u003crepository-url\u003e\n    ```\n\n5. **Push Changes to GitHub:** Upload your local commits to the remote repository on GitHub.\n    ```\n    git push -u origin master\n    ```\n\n## Making Changes\n\n6. **Add Changes to the Staging Area:** Prepare changes for commit.\n    ```\n    git add \u003cfile(s)\u003e\n    ```\n\n7. **Commit Changes with a Message:** Record changes to the repository.\n    ```\n    git commit -m \"Commit message\"\n    ```\n\n## Collaboration\n\n8. **Push Changes to a Remote Repository:** Upload local commits to a remote repository.\n    ```\n    git push\n    ```\n\n9. **Pull Changes from a Remote Repository:** Fetch and merge changes from a remote repository.\n    ```\n    git pull\n    ```\n\n10. **Create a New Branch:** Start working on a new feature or bug fix.\n    ```\n    git branch \u003cbranch-name\u003e\n    ```\n\n11. **Switch to a Branch:** Navigate between different branches.\n    ```\n    git checkout \u003cbranch-name\u003e\n    ```\n\n12. **Merge Changes from Another Branch:** Combine changes from one branch into another.\n    ```\n    git merge \u003cbranch-name\u003e\n    ```\n\n## Miscellaneous\n\n13. **Check Repository Status:** View the status of tracked and untracked files.\n    ```\n    git status\n    ```\n\n14. **View Commit History:** See a log of commits.\n    ```\n    git log\n    ```\n\n15. **List Remote Repositories:** Display configured remote repositories.\n    ```\n    git remote -v\n    ```\n\n16. **Fetch Objects and References from Another Repository:** Download objects and refs from another repository.\n    ```\n    git fetch\n    ```\n\n17. **List, Create, or Delete Tags:** Manage tags for marking important points in history.\n    ```\n    git tag\n    ```\n\n\nWith these basic Git commands, you can efficiently manage your version-controlled projects and collaborate with others. Feel free to explore more advanced Git features as you become more comfortable with the basics.\n\n\n\u003e Dizzpy | Happy coding! 🖥️🥰\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdizzpy%2Fgit-quick-reference-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdizzpy%2Fgit-quick-reference-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdizzpy%2Fgit-quick-reference-guide/lists"}