Git complete tutorial

Introduction

Every developer eventually has the same awful moment: a file that worked yesterday is broken today, and nobody remembers what changed. Or two teammates overwrite each other’s work. Or a late-night edit wipes out a week of effort.

Git exists to make those moments survivable. This Git complete guide takes you from “what is a repository?” to the workflows used in real software companies. It is written for students, freshers and working developers who want to be industry-ready. Every section includes commands you can try in your own terminal.

One honest note before we start: Git is powerful, but it is not magic. It does not guarantee your code is correct, it cannot stop every mistake, and it cannot resolve every conflict for you. What it does is give you a complete, recoverable history and a safe way to collaborate. That is more than enough to change how you work.

Table of Contents

  1. Introduction to Git
  2. Git Architecture and Internal Working
  3. Installation and Initial Configuration
  4. Essential Git Commands
  5. Branching and Branch Management
  6. Merge and Merge Strategies
  7. Merge Conflicts: Complete Practical Guide
  8. Rebase vs Merge
  9. Reset, Revert and Restore
  10. Cherry-Pick and Stash
  11. GitHub, GitLab and Bitbucket
  12. Industry-Level Git Workflows
  13. Common Git Errors and Solutions
  14. Advanced Git Concepts
  15. Git Security and Best Practices
  16. Real-World Industry Projects
  17. The Human Impact of Git
  18. Git Interview Questions
  19. Git Command Cheat Sheet
  20. FAQ and Conclusion

1. What Is Git? Introduction to Version Control

What is Git?

Git is a free, open-source distributed version control system (DVCS). It records changes to files over time so you can recall specific versions later, compare them, undo mistakes and work with other people on the same project.

What is version control?

Version control is the practice of tracking and managing changes to files. Without it, people create folders like project_final, project_final_v2 and project_final_REALLY_final. That approach breaks down the moment a second person joins.

Who created Git and why?

Linus Torvalds created Git in 2005 for the Linux kernel project. The kernel community had been using a proprietary tool, and when that arrangement ended, they needed a fast, free system that could handle thousands of contributors. Git’s design goals were speed, simple design, strong support for non-linear development (thousands of parallel branches) and the ability to handle very large projects.

Problems that existed before Git

  • Files were copied manually into dated folders
  • Older centralized tools needed a constant connection to a server
  • Branching and merging were slow and painful
  • One server failure could mean losing the whole history
  • Teams overwrote each other’s changes

Centralized vs distributed version control

AspectCentralized (e.g. SVN)Distributed (Git)
RepositoryOne central server holds the historyEvery clone holds the full history
Offline workVery limitedCommit, branch and view history offline
SpeedNetwork-dependentMost operations are local and fast
BackupServer is a single point of failureEvery clone is a backup
BranchingOften heavyLightweight and cheap

Why companies use Git and why it is an essential skill

Nearly every software company uses Git because it lets large teams work in parallel, review each other’s code, track who changed what and why, and roll back problems. For individual developers, it is a safety net. For teams, it is the backbone of collaboration and release management. Job descriptions for developers, testers and DevOps engineers almost always list it.

A real-world example

Imagine you spend three days rewriting a payment module. On day four you realize the new approach has a serious bug. Without Git, you either try to remember what you changed or start over. With Git, you committed at the end of each day, so you run a single command to compare against the last working commit, or return to it. Your work is not lost; it is just a few commands away.

2. Git Architecture and Internal Working

The four areas

AreaWhat it is
Working DirectoryThe actual files on your disk that you edit
Staging Area (Index)A holding area where you prepare exactly what goes into the next commit
Local RepositoryThe .git folder holding your commit history and objects
Remote RepositoryA copy hosted elsewhere (GitHub, GitLab, Bitbucket, a company server)

Lifecycle: Working Directory → (git add) → Staging Area → (git commit) → Local Repository → (git push) → Remote Repository.

flowchart LR
  A[Working Directory] — git add –> B[Staging Area]
  B — git commit –> C[Local Repository]
  C — git push –> D[Remote Repository]
  D — git fetch –> C
  D — git pull –> A
  C — git checkout / switch / restore –> A

(Note: if your editor does not render Mermaid, paste the code into mermaid.live to export an image.)

Git objects

Inside .git/objects, Git stores everything as objects, each identified by a SHA hash of its contents (SHA-1 traditionally, with SHA-256 supported in newer repositories).

ObjectPurpose
BlobStores the content of a file (not its name)
TreeRepresents a directory: maps names to blobs and other trees
CommitPoints to a tree (the snapshot), parent commit(s), author, timestamp and message
Tag (annotated)A full object with tagger, date, message and optional signature

A lightweight tag is just a name pointing to a commit, with no extra metadata. An annotated tag is a real object and is preferred for releases.

Snapshots, not diffs

Git thinks in snapshots. Each commit records what the whole project looked like at that moment. Unchanged files are not copied again; the new tree simply points to the same blobs. (For storage efficiency, Git later compresses objects into packfiles using deltas, but conceptually each commit is a snapshot.)

How Git tracks changes and identifies history

Because an object’s name is a hash of its content, any change in content produces a different hash. A commit’s hash includes its parent’s hash, so history forms a chain. Altering an old commit changes every hash after it. This is why rewriting history is visible and why shared history should not be rewritten casually.

HEAD and branch references

  • A branch is a movable pointer to a commit, stored as a small file in .git/refs/heads/.
  • HEAD is a pointer to your current position, usually pointing at the current branch.
  • When you commit, the current branch pointer moves forward to the new commit.

cat .git/HEAD

ref: refs/heads/main

You can inspect objects directly:

git cat-file -t HEAD
git cat-file -p HEAD

commit
tree 9f2c…
parent 3a7b…
author Asha <asha@example.com> 1731744000 +0530

Add login validation

(Hashes shown are shortened and illustrative.)

3. Git Installation and Initial Configuration

Installation

Windows: Download Git for Windows from git-scm.com and run the installer. It includes Git Bash. Alternatively: winget install –id Git.Git -e

Linux:

# Debian / Ubuntu
sudo apt update && sudo apt install git
# Fedora
sudo dnf install git

macOS:

brew install git
# or install Xcode Command Line Tools
xcode-select –install

Verify:

git –version

git version 2.4x.x

First-time configuration

git config –global user.name “Your Name”
git config –global user.email “your@email.com”
git config –global init.defaultBranch main
git config –list

Configuration levels

LevelFlagFile location (typical)Applies to
System–systemGit install folder / /etc/gitconfigEvery user on the machine
Global–global~/.gitconfigYour user account
Local–local.git/configOne repository only

Local overrides global, and global overrides system. Use local settings when, for example, you need a different work email for one repository.

Authentication

MethodHow it worksNotes
HTTPS + Personal Access Token (PAT)Token replaces your passwordMost platforms no longer accept account passwords for Git operations. Give tokens minimal scopes and expiry.
SSH keysPublic key on the server, private key on your machineVery common in companies. Protect the private key with a passphrase.
Credential managersStore tokens securely in the OS keychainGit Credential Manager is bundled with Git for Windows and available for other platforms.

Creating an SSH key:

ssh-keygen -t ed25519 -C “your@email.com”
eval “$(ssh-agent -s)”
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub   # copy this into GitHub/GitLab settings
ssh -T git@github.com

Hi username! You’ve successfully authenticated, but GitHub does not provide shell access.

Secure practices: never share the private key, never commit tokens, set token expiry, and revoke anything you suspect is exposed.

4. Essential Git Commands with Practical Examples

For each command: what it does, why you use it, an example and a common mistake.

Starting a repository

git init creates a new repository in the current folder.

mkdir shop-app && cd shop-app
git init

Initialized empty Git repository in /home/dev/shop-app/.git/

Use case: turning a new project into a tracked project. Mistake: running it inside another repository, creating a nested repo.

git clone <url> copies an existing repository, with full history.

git clone git@github.com:company/shop-app.git

Use case: joining a team project on day one. Mistake: cloning into the wrong folder.

Checking and staging

git status shows which files are modified, staged or untracked.

On branch main
Changes not staged for commit:
        modified:   login.py
Untracked files:
        notes.txt

Run it constantly. It is the safest habit in Git.

git add <file> stages a file. git add . stages everything in the current directory and below.

git add login.py
git add .

Mistake: git add . can sweep in logs, .env files or build output. Check git status first and keep a good .gitignore.

Committing

git commit opens your editor for a message; git commit -m “message” commits inline.

git commit -m “Add email validation to login form”

[main 4f1a2bc] Add email validation to login form
 1 file changed, 8 insertions(+)

Mistake: vague messages like “fix” or “update”. Write what changed and why.

Viewing history

git log shows history; git log –oneline shows one compact line per commit; git show displays one commit’s details.

git log –oneline –graph –decorate

4f1a2bc (HEAD -> main) Add email validation to login form
9c3d1e7 Create login page

git show 4f1a2bc

Comparing

git diff compares working directory to staging area. git diff –staged compares staging area to the last commit.

git diff
git diff –staged

Mistake: running git diff after git add and seeing nothing, then thinking changes vanished. They are staged, so use –staged.

Moving and removing files

git rm old_module.py          # delete and stage the deletion
git rm –cached secrets.env   # stop tracking but keep the file on disk
git mv utils.py helpers.py    # rename and stage

Working with remotes

git remote add origin git@github.com:company/shop-app.git
git remote -v

origin  git@github.com:company/shop-app.git (fetch)
origin  git@github.com:company/shop-app.git (push)

git push origin main
git fetch origin
git pull origin main

git fetch vs git pull

 git fetchgit pull
What it doesDownloads new commits and updates remote-tracking branches (like origin/main)Fetch plus integrates the changes into your current branch
Changes your files?NoYes
RiskVery lowCan cause conflicts immediately
Equivalent git fetch then git merge (or git rebase with –rebase)

Professionals often fetch first, inspect with git log HEAD..origin/main, and then decide how to integrate.

Stash, clean, tag, grep, blame

git stash                  # save uncommitted work and clean the directory
git stash list
git stash pop              # re-apply the latest stash and remove it

git clean -n               # dry run: show what would be deleted
git clean -fd              # DANGEROUS: permanently deletes untracked files and directories

git tag v1.0.0
git tag -a v1.0.0 -m “First stable release”
git grep “calculate_tax”   # search tracked files
git blame login.py         # who last changed each line

Use case for blame: finding the commit (and the reason) behind a strange line. Use it to understand context, not to assign fault.

Warning: git clean -fd cannot be undone because untracked files were never saved in Git. Always run git clean -n first.

5. Git Branching and Branch Management

A branch is a lightweight pointer to a commit that lets you work on something in isolation. Developers create branches so unfinished work does not break the stable code.

Common branch types

TypePurposeExample name
main (formerly master)Stable, production-ready codemain
DevelopmentIntegration of upcoming work (Git Flow)develop
FeatureOne new featurefeature/user-login
Bug-fixNon-urgent fixbugfix/cart-total
ReleaseFinal preparation of a releaserelease/2.4.0
HotfixUrgent production fixhotfix/payment-timeout

Naming conventions: use lowercase, hyphens, a type prefix and, where your company uses one, a ticket ID, for example feature/SHOP-142-guest-checkout.

Commands

git branch                         # list local branches
git branch feature-login           # create
git switch feature-login           # move to it
git switch -c feature-payment      # create and move
git branch -a                      # list local and remote-tracking
git branch -m old-name new-name    # rename
git branch -d feature-login        # delete (only if merged)
git branch -D feature-login        # force delete (unmerged work may be lost)
git push -u origin feature-login   # push and set upstream

Local, remote-tracking and upstream branches

  • Local branch: feature-login, which you move by committing.
  • Remote-tracking branch: origin/feature-login, a read-only bookmark of where the remote branch was at your last fetch.
  • Upstream (tracking) branch: the remote branch your local branch is linked to, set with -u, so plain git push and git pull know where to go.

Example: five developers, one application

A team of five builds an online store. Priya builds login, Ravi builds the cart, Meena works on payments, Arjun fixes a search bug and Sana prepares the release.

gitGraph
  commit id: “v1.0”
  branch feature/login
  branch feature/cart
  branch feature/payment
  checkout feature/login
  commit id: “login UI”
  checkout feature/cart
  commit id: “cart API”
  checkout feature/payment
  commit id: “gateway”
  checkout main
  merge feature/login
  merge feature/cart
  merge feature/payment

Each person works without breaking the others. Their changes meet only when reviewed and merged. Conflicts will happen when two people touch the same code, which is exactly what sections 6 and 7 cover.

6. Git Merge and Merge Strategies

Merging combines the work from one branch into another. It is necessary because parallel work must eventually come back together.

Fast-forward merge

If main has no new commits since the feature branch was created, Git simply moves the main pointer forward. No merge commit is created.

git switch main
git merge feature-login

Updating 9c3d1e7..4f1a2bc
Fast-forward
 login.py | 8 ++++++++
 1 file changed, 8 insertions(+)

Three-way merge and merge commits

If both branches have new commits, Git finds the common ancestor and compares it with both tips (three points, hence “three-way”). It creates a merge commit with two parents.

Merge made by the ‘ort’ strategy.

(ort is the default merge strategy in modern Git.)

No-fast-forward merge

git merge –no-ff feature-login

Forces a merge commit even when fast-forward is possible. This preserves the fact that a feature branch existed.

Squash merge

git merge –squash feature-login
git commit -m “Add login feature”

Combines all branch changes into the working directory and staging area so you create one commit. Note that no merge relationship is recorded.

Aborting

git merge –abort

Cancels an in-progress merge that has conflicts and restores the pre-merge state.

Comparison

StrategyAdvantagesDisadvantagesBest for
Fast-forwardLinear, simple historyLoses the record of the branchSmall, short-lived changes
Three-way merge commitPreserves true historyHistory can look busyLong-running or shared branches
–no-ffClear feature grouping, easy to revert a whole featureExtra merge commitsGit Flow, release tracking
–squashVery clean main historyLoses individual commits and authorship detailMessy branches with many WIP commits

What happens internally

Git finds the merge base, computes the changes each side made since that base, applies both sets and, if they do not overlap, records a new commit with two parents. If they overlap on the same lines, it stops and asks you to decide. That is the next section.

7. Merge Conflicts: Complete Practical Guide

What is a merge conflict?

A merge conflict happens when Git cannot decide automatically how to combine changes because two branches modified the same part of the same file (or made incompatible changes) since their common ancestor.

When does Git merge automatically, and when does it need you?

SituationResult
Different files changed on each branchAutomatic merge
Same file, different regions changedAutomatic merge
Same lines changed differentlyConflict
One side deleted a file, the other modified itConflict
Both sides added a file with the same path but different contentConflict

Note that an automatic merge only means the text combined cleanly. It does not prove the combined logic is correct, so always run your tests.

Types of conflicts

TypeMeaning
Same-line conflictBoth branches edited the same lines
Same-file conflictSeveral separate regions of one file conflict
Delete vs modifyOne branch deleted a file, the other changed it
Rename conflictBoth branches renamed the same file to different names, or one renamed and the other edited
Add/addBoth branches created the same filename independently
File mode conflictPermission bits (such as the executable flag) changed differently
Binary conflictImages, PDFs or compiled files cannot be merged line by line; you must choose one version

Conflicts can also appear during git rebase (once per replayed commit) and git cherry-pick (when the picked commit does not apply cleanly).

A realistic example

The base login.py on main:

def login(username, password):
    user = db.find_user(username)
    if user and user.password == password:
        return True
    return False

Developer A (branch feature-login) fixes a security issue by hashing passwords:

def login(username, password):
    user = db.find_user(username)
    if user and verify_hash(password, user.password_hash):
        return True
    return False

Developer B (branch feature-lockout) adds an attempt limit:

def login(username, password):
    user = db.find_user(username)
    if user and user.failed_attempts >= 5:
        return False
    if user and user.password == password:
        return True
    return False

Both push their branches. A’s branch is merged into main first. When B merges main (or B’s branch is merged), Git reports:

git merge feature-login

Auto-merging login.py
CONFLICT (content): Merge conflict in login.py
Automatic merge failed; fix conflicts and then commit the result.

Reading the conflict markers

Open login.py:

def login(username, password):
    user = db.find_user(username)
<<<<<<< HEAD
    if user and user.failed_attempts >= 5:
        return False
    if user and user.password == password:
=======
    if user and verify_hash(password, user.password_hash):
>>>>>>> feature-login
        return True
    return False

MarkerMeaning
<<<<<<< HEADStart of the conflict. Lines below are from your current branch (the one you are merging into).
=======Divider between the two versions
>>>>>>> feature-loginEnd of the conflict. Lines above are from the incoming branch.

Step-by-step resolution

Step 1. See what is conflicted.

git status

You have unmerged paths.
  (fix conflicts and run “git commit”)
Unmerged paths:
        both modified:   login.py

Step 2. Inspect the differences.

git diff                 # combined view of conflicts
git diff –ours          # compare working file with your side
git diff –theirs        # compare working file with incoming side

Step 3. Optionally use a merge tool (opens a visual three-pane editor such as VS Code, vimdiff or Meld if configured):

git mergetool

Step 4. Edit the file by hand. Do not just pick one side. Ask: what is each change trying to achieve? A’s change protects stored passwords. B’s change limits repeated guesses. The business needs both.

Resolved code:

def login(username, password):
    user = db.find_user(username)
    if user and user.failed_attempts >= 5:
        return False
    if user and verify_hash(password, user.password_hash):
        return True
    return False

Remove every marker line (<<<<<<<, =======, >>>>>>>).

Step 5. Test. Run unit tests. A clean-looking merge can still break logic (for example, B’s other code might still compare plain-text passwords somewhere else).

Step 6. Stage and commit.

git add login.py
git commit -m “Resolve merge conflict in login: combine hashing and lockout”

If you get stuck:

git merge –abort

This returns you to the state before the merge started.

Key lesson: resolving a conflict is not choosing “mine” or “theirs”. It is understanding the intended behavior of both changes and producing code that preserves it. When unsure, talk to the other developer.

Quick options for whole-file decisions (use deliberately, especially for binary files):

git checkout –ours  path/to/file
git checkout –theirs path/to/file

(Note: during a rebase, “ours” and “theirs” are reversed in meaning, which confuses many people.)

Preventing conflicts: pull or rebase often, keep branches short-lived, make small commits, avoid reformatting entire files, and talk to teammates working on the same area.

8. Git Rebase vs Git Merge

What is rebase?

git rebase takes the commits of your branch and replays them on top of another commit, usually the latest main. The result looks as if you started your work from the newest code.

gitGraph
  commit id: “A”
  commit id: “B”
  branch feature
  commit id: “F1”
  commit id: “F2”
  checkout main
  commit id: “C”
  commit id: “D”

Before rebase: feature branches from B. After git rebase main: F1 and F2 are re-created as F1′ and F2′ after D. They are new commits with new hashes.

git switch feature
git rebase main

Why use it, and what does “rewriting history” mean?

Rebase creates a linear history with no merge commits, which is easier to read and to bisect. But because it creates new commits and discards the old ones, it rewrites history. That is harmless on your private branch and harmful on a branch other people are using.

Golden rule: never rebase commits that have been pushed to a shared branch others build on.

Handling rebase conflicts

Conflicts may appear for each replayed commit. Resolve, stage, then continue:

git add login.py
git rebase –continue
git rebase –skip      # drop the current commit entirely
git rebase –abort     # go back to before the rebase

git pull –rebase fetches and then rebases your local commits on top of the remote branch, avoiding a needless merge commit.

Merge vs rebase

AspectMergeRebase
HistoryPreserves true history, branch structure visibleLinear, rewritten
Merge commitYes (unless fast-forward)No
Commit hashesUnchangedNew hashes for replayed commits
Safety on shared branchesSafeRisky; requires force push after rewrite
Conflict handlingResolve onceMay resolve repeatedly, once per commit
Best forIntegrating a finished feature into mainUpdating your private feature branch with latest main
Examplegit merge featuregit rebase main

Practical rule used by many teams: rebase your own local feature branch onto main to stay current, then merge it (often via a pull request).

If you must push a rebased branch you own, prefer the safer option:

git push –force-with-lease

It refuses to overwrite remote commits you have not seen.

9. Git Reset, Revert and Restore

Beginners confuse these three. The key question is: what do you want to undo, and has it been shared?

git reset: move the branch pointer back

git reset –soft HEAD~1    # undo commit, keep changes STAGED
git reset –mixed HEAD~1   # undo commit, keep changes UNSTAGED (default)
git reset –hard HEAD~1    # undo commit AND discard changes. DANGEROUS

ModeBranch pointerStaging areaWorking directory
–softMovesUnchangedUnchanged
–mixedMovesResetUnchanged
–hardMovesResetReset (changes discarded)

Warning: git reset –hard permanently discards uncommitted changes. Committed work can often be recovered with git reflog, but uncommitted work cannot.

Scenario (local commit with wrong message or too many files):

git reset –soft HEAD~1
# fix, then
git commit -m “Correct message”

git revert: undo safely by adding a new commit

git revert <commit-id>

Revert creates a new commit that reverses the effect of an earlier one. History is preserved, so it is the safe choice for pushed or shared commits.

Scenario (bad change already in production):

git log –oneline
git revert 4f1a2bc
git push origin main

git restore: fix files

git restore filename.py            # discard unstaged changes in the file (cannot be undone)
git restore –staged filename.py   # unstage the file but keep your edits

Which one should I use?

GoalCommand
Discard edits to a filegit restore file
Unstage a filegit restore –staged file
Undo local, unpushed commitgit reset
Undo pushed commitgit revert

Troubleshooting example: you ran git reset –hard HEAD~3 by mistake. Run git reflog, find the commit you were on (for example HEAD@{1}), then git reset –hard HEAD@{1}.

10. Git Cherry-Pick and Stash

Cherry-pick

Cherry-picking applies the changes from one specific commit onto your current branch, creating a new commit.

git switch release/2.4
git cherry-pick 7d2e9ab

Companies use it for backporting: a bug fixed on main must also reach the supported release branch without bringing along unrelated work. If conflicts occur:

git add file.py
git cherry-pick –continue
git cherry-pick –abort

Caution: cherry-picked commits are duplicates with different hashes, so overuse can make history confusing.

Stash

Stash saves uncommitted work temporarily so you can switch context.

Scenario: you are halfway through a feature when production breaks.

git stash push -m “half-done cart discount”
git switch -c hotfix/payment-timeout main
# fix, commit, push
git switch feature/cart
git stash list
git stash apply        # re-apply but keep the stash
git stash pop          # re-apply and delete it
git stash drop stash@{0}

stash@{0}: On feature/cart: half-done cart discount

If applying a stash conflicts, resolve it like a merge conflict. The stash is kept when a pop conflicts, so nothing is lost. By default, git stash ignores untracked files; use git stash -u to include them.

11. GitHub, GitLab and Bitbucket

Git vs GitHub

Git is the version control tool that runs on your computer. GitHub, GitLab and Bitbucket are hosting platforms built around Git repositories. They add web interfaces, access control, collaboration and automation. Git works without any of them.

 Git (the tool)Platform features (GitHub / GitLab / Bitbucket)
Commits, branches, merges, rebaseYesUse Git underneath
Pull / Merge RequestsNoPlatform feature
Code review commentsNoPlatform feature
Branch protection, required checksNoPlatform feature
CI/CD pipelinesNoGitHub Actions, GitLab CI/CD, Bitbucket Pipelines
Issue trackingNoPlatform feature
Hosting remote repositoriesNo (any server can host)Platform feature
PlatformNotes
GitHubLargest open-source community; Pull Requests; GitHub Actions
GitLabBuilt-in DevOps platform; calls them Merge Requests (MR); self-hosting is common
BitbucketStrong Jira integration; popular in Atlassian-based companies

Key collaboration concepts

  • Pull Request (PR) / Merge Request (MR): a request to merge your branch, with a discussion thread and review.
  • Code review: teammates read the diff, comment and approve.
  • Repository permissions: read, write, maintain, admin; give people the least access they need.
  • Protected branches / branch protection rules: block direct pushes to main, require reviews and prevent force pushes.
  • Required status checks: tests and linters must pass before merging.
  • Code ownership (CODEOWNERS): automatically requests review from the owners of changed files.
  • Forking: your own server-side copy of someone else’s repository, used for open-source contributions.
  • Cloning: downloading a repository to your machine.

Open-source contribution flow

# 1. Fork on the website, then:
git clone git@github.com:yourname/project.git
cd project
git remote add upstream git@github.com:original/project.git
git switch -c fix/typo-in-readme
# edit, then
git add . && git commit -m “Fix typo in README”
git push -u origin fix/typo-in-readme
# 2. Open a Pull Request on the website
# Keep your fork current:
git fetch upstream && git merge upstream/main

12. Industry-Level Git Workflow

Common workflows

WorkflowIdeaBest for
Git Flowmain, develop, feature, release and hotfix branchesScheduled releases, versioned products
GitHub Flowmain is always deployable; short feature branches and PRsWeb apps with frequent deployment
Trunk-Based DevelopmentEveryone integrates into main very frequently, often behind feature flagsMature teams with strong CI
Feature Branch WorkflowOne branch per feature, merged by PRMost teams, general-purpose

gitGraph
  commit id: “v1.0”
  branch develop
  checkout develop
  commit id: “dev work”
  branch feature/cart
  commit id: “cart”
  checkout develop
  merge feature/cart
  branch release/1.1
  commit id: “QA fixes”
  checkout main
  merge release/1.1 tag: “v1.1”
  branch hotfix/crash
  commit id: “urgent fix”
  checkout main
  merge hotfix/crash tag: “v1.1.1”

Enterprise example

Team: 1 Tech Lead, 2 Backend Developers (Asha, Ravi), 2 Frontend Developers (Meena, Karan), 1 QA Engineer (Sana), 1 DevOps Engineer (Dev). They use GitHub Flow with protected main, required reviews, CI checks and tagged releases.

Step 1: Setup (Tech Lead + DevOps). main is protected: no direct pushes, at least one approval, passing CI required, CODEOWNERS configured.

Step 2: Backend developer starts a ticket.

git switch main
git pull
git switch -c feature/SHOP-210-order-api
# write code and tests
git add .
git commit -m “Add order creation endpoint with validation”
git push -u origin feature/SHOP-210-order-api

Step 3: Pull request. Asha opens a PR. CI automatically runs unit tests, linting and security scans. The Tech Lead reviews and requests a change.

Step 4: Address review feedback.

# edit code
git add .
git commit -m “Handle empty cart in order endpoint”
git push

Step 5: Frontend integrates the API. Meena branches from latest main after the PR merges, or from Asha’s branch if coordinated:

git fetch origin
git switch -c feature/SHOP-211-order-ui origin/main

Step 6: Stay current and resolve conflicts.

git fetch origin
git rebase origin/main      # only on your own unshared branch
# or: git merge origin/main

Step 7: Merge. After approval and green checks, the PR is merged (squash or merge commit, depending on team policy).

Step 8: QA. Sana tests the build deployed to a staging environment from main or a release candidate.

Step 9: Release and tagging (Tech Lead + DevOps).

git switch main
git pull
git tag -a v2.5.0 -m “Release 2.5.0: guest checkout and order API”
git push origin v2.5.0

The CI/CD pipeline builds the tagged commit, runs the full test suite and deploys to production.

Step 10: Production hotfix.

git switch -c hotfix/payment-timeout v2.5.0
# fix and test
git commit -am “Increase gateway timeout to 30s”
git push -u origin hotfix/payment-timeout
# PR to main, then tag v2.5.1 and deploy

Step 11: Rollback. If the new release causes serious issues, either redeploy the previous tag (v2.4.3) or revert the offending change:

git revert <commit-or-merge-commit>   # for a merge commit add: -m 1

13. Common Git Errors and Their Solutions

Each entry lists the cause and fix. Run git status and git log –oneline –graph –all first when diagnosing.

Warning: commands marked ⚠ can destroy work. Read them twice and have a backup branch (git branch backup-before-fix) when unsure.

Setup and authentication

#ErrorCauseSolutionPrevention
1fatal: not a git repositoryYou are outside a repo or .git is missingcd into the project, or run git init / git cloneCheck pwd; confirm with git status
2Permission denied (publickey)SSH key not added to the server or agentssh-add ~/.ssh/id_ed25519; add the .pub key to your account; test with ssh -T git@github.comUse ssh -vT to debug; keep keys documented
3Authentication failedWrong or expired token; password no longer acceptedCreate a new PAT or use SSH; update the saved credential (git credential-manager or OS keychain)Set token reminders; use a credential manager
4remote origin already existsgit remote add origin run twicegit remote set-url origin <url> or git remote remove origin then add againCheck git remote -v first

Push and pull problems

#ErrorCauseSolutionPrevention
5failed to push some refsGeneric push failure: rejected update, permission or hookRead the full message that follows; usually fix #6/#7Pull before push
6Updates were rejected because the remote contains work that you do not have locallySomeone pushed firstgit pull –rebase (or git pull), resolve conflicts, then pushPull frequently
7Non-fast-forward rejectionYour branch history diverged from remoteIntegrate with git pull –rebase or merge. ⚠ Force push only on your own branch: git push –force-with-leaseNever force push shared branches
11Your branch is behind ‘origin/main’Remote has new commitsgit pull (or git merge –ff-only origin/main)Fetch regularly
12Your branch has divergedBoth local and remote have unique commitsgit pull –rebase or git merge origin/mainSmall, frequent syncs
13cannot lock refA stale lock file, or a branch name conflict (e.g. feature and feature/x)Ensure no other Git process is running; remove stale .git/*.lock only if sure; git remote prune originAvoid clashing branch names
14refusing to merge unrelated historiesMerging two repos with no common ancestorgit pull origin main –allow-unrelated-histories after checking it is intendedClone instead of re-initializing

Working directory and branches

#ErrorCauseSolutionPrevention
8Merge conflictsOverlapping editsSee Section 7Short-lived branches
9untracked working tree files would be overwritten by checkoutUntracked files clash with files in the target branchMove or delete the files, or git stash -u, then switchCommit or stash before switching
10Detached HEADYou checked out a commit, tag or remote branch directlyTo keep work: git switch -c rescue-branch. To leave: git switch mainUse branches for work
17Accidentally deleted a branchgit branch -Dgit reflog, find the last commit, git branch restore-name <hash>Prefer -d
18Lost commits after resetgit reset –hardgit reflog then git reset –hard <hash> (reflog entries expire eventually, 90 days by default for reachable entries)Create a backup branch first
19Pushed to wrong branchWrong checkoutIf private: reset the remote branch with –force-with-lease. If shared: git revertCheck git branch –show-current before push
20Wrong commit messageTypo or missing detailUnpushed: git commit –amend -m “New message”. Pushed: amend only if you own the branch and then force-with-leaseUse a commit template

Security and big files

#ErrorCauseSolutionPrevention
15Accidentally committed secretsKeys in code or .envRevoke and rotate the secret immediately, then remove it from history (git filter-repo) and force-push, informing the team (see Section 15)Secret scanning, .gitignore, pre-commit hooks
16Large file committedBinary, dataset or build outputIf unpushed: git rm –cached file, amend, add to .gitignore. If in history: git filter-repo –strip-blobs-bigger-than 50M (rewrites history) or migrate to Git LFSUse LFS and .gitignore
21Git LFS issuesLFS not installed or files appear as pointer textgit lfs install, then git lfs pull; check git lfs ls-files and .gitattributesDocument LFS setup

Cross-platform and structure

#ErrorCauseSolutionPrevention
22Case-sensitive filename conflictsWindows/macOS file systems are often case-insensitive, Linux is notRename with git mv File.py file_tmp.py then git mv file_tmp.py file.pyConsistent lowercase naming
23CRLF vs LF line endingsWindows vs UnixWindows: git config –global core.autocrlf true; Linux/macOS: input. Better: commit a .gitattributes with * text=autoUse .gitattributes
24Submodule not initializedCloned without submodulesgit submodule update –init –recursive or clone with –recurse-submodulesDocument in README
25Rebase conflictsOverlapping edits during replayFix, git add, git rebase –continue; or git rebase –abortRebase often, in small steps
26Cherry-pick conflictsTarget branch differs from sourceFix, git add, git cherry-pick –continue or –abortPick small, self-contained commits
27Shallow clone limits–depth clones lack full historygit fetch –unshallowUse shallow only in CI
28Repository corruptionDisk failure, interrupted operationgit fsck to diagnose. Fetch missing objects from the remote; as a last resort, re-clone and copy over unpushed workPush regularly; back up

Handy diagnostic commands

git status
git log –oneline –graph –all –decorate
git reflog
git remote -v
git config –list –show-origin
git fsck

14. Advanced Git Concepts Used in Industry

ConceptWhat it doesWhere it is useful
Interactive rebase (git rebase -i HEAD~4)Reorder, edit, drop or combine recent commitsCleaning a messy branch before a PR
SquashingCombine several commits into one (squash in interactive rebase or merge –squash)Keeping main history tidy
Amend (git commit –amend)Modify the last commitFixing a typo or adding a forgotten file (unpushed only)
Reflog (git reflog)Local log of where HEAD and branches have beenRecovering “lost” commits
Bisect (git bisect start / bad / good)Binary search through history to find the commit that introduced a bugHunting regressions in large histories
Blame (git blame -L 10,20 file)Shows who last changed each lineUnderstanding why code exists
Hooks (.git/hooks)Scripts that run at Git eventsEnforcing checks locally
Pre-commit hooksRun linters, formatters or secret scans before a commit is createdCatching problems early (often managed with the pre-commit framework)
Commit signing / GPG (git commit -S)Cryptographically proves who made the commit (GPG, SSH or S/MIME signing)Regulated or high-trust projects
Signed tags (git tag -s v1.0 -m “…”)Proves a release tag is authenticRelease integrity
SubmodulesEmbed another repository at a pinned commitShared libraries across projects
Worktrees (git worktree add ../hotfix main)Multiple working directories from one repositoryWorking on a hotfix without stashing
Git LFSStores large binaries outside the main repo, keeping pointersDesign assets, models, datasets
Sparse checkoutCheck out only some directoriesHuge monorepos
Partial clone (–filter=blob:none)Download objects on demandSpeeding up cloning large repos
Shallow clone (–depth 1)Only recent historyCI pipelines
.gitignoreLists files Git should not trackKeeping logs, builds and secrets out
.gitattributesPer-path settings: line endings, LFS, diff behaviorCross-platform teams
AliasesShortcuts for commandsDaily productivity
Maintenance / garbage collection (git gc, git maintenance)Compresses and cleans objectsLarge, long-lived repos
Bundles (git bundle create repo.bundle –all)Package a repository into one fileOffline or air-gapped transfer
Rerere (git config rerere.enabled true)“Reuse recorded resolution” remembers how you resolved a conflictLong-lived branches that are rebased repeatedly

Examples

# Interactive rebase of the last 3 commits
git rebase -i HEAD~3

# Find the bad commit with bisect
git bisect start
git bisect bad                 # current version is broken
git bisect good v2.4.0         # this older tag worked
# Git checks out midpoints; test each, then mark good or bad
git bisect reset

# A useful alias
git config –global alias.lg “log –oneline –graph –decorate –all”

A sample .gitignore for a Python project:

__pycache__/
*.pyc
.venv/
.env
*.log
.idea/
.vscode/

Reminder: .gitignore does not affect files that are already tracked. Use git rm –cached <file> to stop tracking them.

15. Git Security and Best Practices

  • Never commit passwords, tokens or API keys. Use environment variables or a secrets manager.
  • Use secret scanning (platform features and tools such as pre-commit scanners) to catch leaks early.
  • Use SSH keys securely: passphrase-protected, one per device, removed when a device is retired.
  • Sign commits when required by your organization.
  • Protect main branches and require pull requests.
  • Require code reviews and passing status checks.
  • Follow least-privilege access and audit repository access periodically.
  • Avoid force pushing shared branches. If you must, use –force-with-lease and tell the team.
  • Write meaningful commit messages and keep commits small and focused.
  • Maintain a proper .gitignore.

Good commit message format

Add rate limiting to login endpoint

Limit to 5 failed attempts per 15 minutes per IP to reduce
brute-force attacks. Closes SHOP-318.

Deleting a secret in a later commit does not remove it

Git keeps full history. If you commit an API key and then delete it in the next commit, anyone with access to the repository (or a clone) can still read it from the earlier commit.

What to do if a credential is exposed

  1. Revoke or rotate the credential immediately. Do this first, because history cleanup takes time and clones may already exist.
  2. Assess exposure: was the repo public? Check access logs of the affected service for misuse.
  3. Remove it from history if appropriate, using git filter-repo (or BFG Repo-Cleaner), then force-push and ask everyone to re-clone or reset their local copies.
  4. Coordinate rotation: update the secret in the secrets manager and deployment configs, redeploy services, confirm old keys are disabled and notify the security team.
  5. Prevent recurrence: add secret scanning, a pre-commit hook and a .gitignore entry, and write a short post-incident note.

Cleaning history helps, but rotation is what actually secures you. Treat any committed secret as compromised.

16. Real-World Industry Projects

1. E-commerce application

  • Git use: one repository for storefront, or separate frontend and API repos.
  • Branching: GitHub Flow with feature/SHOP-###-name; hotfix/ for urgent fixes.
  • Collaboration and PRs: each ticket maps to a branch and PR; review by a teammate and the owner of that module.
  • Conflict scenario: two developers change the price calculation function (one adds discounts, one adds tax). Resolution requires understanding order of operations: discount first, then tax.
  • Testing and deployment: CI runs unit and integration tests; merges to main deploy to staging; tagged releases go to production, avoiding peak sale hours.
  • Production issue: checkout fails after release. Team reverts the merge commit, redeploys, then fixes properly on a hotfix branch.

2. Banking application

  • Git use: strict access control, signed commits and tags, audit trails.
  • Branching: release branches with formal approvals; main protected with multiple required reviewers.
  • PR process: two approvals plus security review; CODEOWNERS for sensitive modules.
  • Conflict scenario: two changes to interest calculation rules. Resolved only with business analyst confirmation and extensive tests.
  • Testing and deployment: automated compliance and security scans, manual QA sign-off, change-approval records.
  • Production issue: hotfix branch from the release tag, cherry-picked into the next release branch, with every step documented.

3. Microservices

  • Git use: repository per service (or a monorepo with path-based ownership).
  • Branching: trunk-based with feature flags to avoid long-lived branches.
  • PR process: small PRs; API contract tests verify compatibility between services.
  • Conflict scenario: shared API schema file edited by two teams. Resolve through a versioned contract and communication.
  • Testing and deployment: each service has its own pipeline; independent versioned tags.
  • Production issue: roll back just the faulty service by deploying its previous tag.

4. DevOps and Infrastructure-as-Code

  • Git use: Terraform, Kubernetes manifests and pipeline definitions stored in Git; Git becomes the source of truth (GitOps).
  • Branching: feature branches; PRs show a plan or diff of infrastructure changes.
  • Conflict scenario: two engineers edit the same Terraform file. Resolve carefully and re-run the plan, since an incorrect merge can change real infrastructure.
  • Testing and deployment: validation, policy checks and plan review before merge; automated apply after approval.
  • Production issue: git revert the change and let the pipeline restore the previous state.

5. Open-source contribution

  • Git use: fork, clone, branch, push, PR.
  • Branching: one small branch per contribution; keep your fork synced with upstream.
  • PR process: follow CONTRIBUTING.md, write clear descriptions, respond to maintainer feedback and expect to rebase.
  • Conflict scenario: the project moved on while your PR waited. Rebase on upstream/main, resolve conflicts and force-push to your own PR branch with –force-with-lease.
  • Testing: the project’s CI runs on your PR.

17. The Human Impact of Git in Software Development

Git is a technical tool, but its biggest effects are human.

It reduces stress. Knowing that every commit is a saved checkpoint changes how you work. You stop fearing the next edit, because a known good state is one command away.

It protects against accidental loss. Laptops fail, files get overwritten and late-night mistakes happen. A pushed commit is a copy on another machine.

It improves teamwork. Branches let people work in parallel without stepping on each other. Pull requests turn “I changed something” into a conversation.

It helps juniors learn. A new developer can read history to see how a senior solved a problem, line by line, with the reasoning in the commit message. Code review comments become a free mentoring session.

It encourages accountability. git blame and history show who changed what and when. Used well, this is about context and learning, not blame. Teams do best when the question is “why did this change?” instead of “who broke it?”

It makes remote collaboration possible. Developers across time zones can contribute to one codebase without ever being in the same room.

It helps teams recover. Revert, reflog and tags turn a disaster into an inconvenience.

It reduces misunderstandings. A diff is precise. “I changed the login” is vague; a 12-line diff is not.

It encourages experimentation. Branches are cheap, so trying a risky idea costs almost nothing. If it fails, delete the branch.

A story: Priya, Arjun and the conflicting login

Priya and Arjun were two developers on the same product team. On Monday, Priya started improving the login screen’s error messages. Arjun, working on a security ticket, was changing the same function to add an account lockout.

Both finished on Thursday. Priya’s pull request merged first. When Arjun pulled the latest main, Git stopped with a conflict in login.py. His first reaction was a sinking feeling, because he had a demo the next morning.

He was tempted to keep his version and discard hers. Instead, he opened the conflict and read her change. Then he messaged her: “We both edited login(). Can you walk me through what the new error messages are for?”

Ten minutes on a call later, they understood each other’s intent. Her messages depended on returning a specific reason when credentials failed; his lockout needed to return a different reason after five attempts. Together they wrote one version that did both, ran the tests, and found that one of his tests failed because her messages changed a string. They fixed it together.

The merge commit said: “Resolve login conflict: combine lockout with clearer error messages.” The demo went fine. More importantly, Arjun now knew how the error-handling module worked, and Priya knew the security requirements behind the lockout.

Git did not resolve the problem for them. It simply stopped them from silently breaking each other’s work, showed exactly where the overlap was and gave them a reason to talk. That is what good tools do: they do not replace teamwork, they make it harder to skip.

18. Git Interview Questions and Answers

Beginner (10)

1. What is Git? A free, open-source distributed version control system that tracks changes, supports branching and merging, and lets teams collaborate.

2. What is the difference between Git and GitHub? Git is the version control tool. GitHub is a hosting platform for Git repositories that adds pull requests, reviews, issues and CI/CD.

3. What is a repository? A project folder tracked by Git, containing a .git directory with the full history and metadata.

4. What is the staging area? A place where you prepare the exact changes for the next commit. git add moves changes into it.

5. What is the difference between git add and git commit? git add stages changes; git commit records the staged snapshot permanently in the local repository.

6. What is a branch? A lightweight movable pointer to a commit, used to develop features in isolation.

7. What does git clone do? Copies a remote repository, including all history, to your machine and sets up origin.

8. What is git status used for? It shows modified, staged and untracked files and the current branch’s relationship to its upstream.

9. What is .gitignore? A file listing patterns of files Git should not track, such as logs, build output and secrets files.

10. Difference between git fetch and git pull? fetch downloads remote changes without changing your working files. pull fetches and then merges (or rebases) them into your current branch.

Intermediate (10)

11. What is a merge conflict and how do you resolve it? It occurs when Git cannot automatically combine changes to the same lines. Open the file, understand both intents, edit to the correct combined result, remove markers, run tests, git add, then commit. git merge –abort cancels.

12. Merge vs rebase? Merge preserves history and adds a merge commit. Rebase replays commits on a new base for a linear history but rewrites commits, so it should not be used on shared branches.

13. Reset vs revert? Reset moves the branch pointer (rewriting history); revert adds a new commit that undoes a previous one. Use revert for pushed commits.

14. Explain soft, mixed and hard reset. Soft keeps changes staged. Mixed (default) keeps them in the working directory but unstaged. Hard discards them.

15. What is cherry-pick? Applying a specific commit from another branch onto the current one, commonly for backporting fixes.

16. What is git stash? Temporarily shelves uncommitted changes so you can switch tasks; restore with git stash pop or apply.

17. What is a detached HEAD? HEAD points directly to a commit instead of a branch. Commits made there can be lost unless you create a branch (git switch -c name).

18. What is a fast-forward merge? When the target branch has no new commits, Git just moves its pointer forward with no merge commit.

19. What is a pull request? A platform feature (not Git itself) to propose merging a branch, enabling review, discussion and automated checks.

20. How do you undo git add? git restore –staged <file> (older Git: git reset HEAD <file>).

Advanced and scenario-based (5)

21. Scenario: a bug reached production after a merge. What do you do? If the branch is shared, git revert the merge commit (git revert -m 1 <merge-hash>), push, deploy and then fix properly on a hotfix branch. Avoid rewriting main.

22. Scenario: you ran git reset –hard and lost commits. Use git reflog to find the previous HEAD, then git reset –hard <hash> or create a branch at that hash.

23. Scenario: a hotfix on main must also go into release/2.4. Find the commit hash and run git switch release/2.4 followed by git cherry-pick <hash>, resolving conflicts if any.

24. Scenario: your rebase hits repeated conflicts and you are lost. Run git rebase –abort to return to the original state, then consider merging instead, or squashing commits first to reduce repeated conflicts.

25. How would you find which commit introduced a bug? Use git bisect: mark the current commit bad and a known old one good; Git binary-searches history until it identifies the first bad commit. Test each step, then git bisect reset.

19. Git Command Cheat Sheet

CommandPurposeWhen to useRisk
git initCreate a repositoryStarting a projectLow
git clone <url>Copy a remote repoJoining a projectLow
git statusShow stateConstantlyNone
git add <file>Stage changesBefore committingLow
git commit -m “msg”Save a snapshotAfter a logical changeLow
git log –oneline –graphView historyUnderstanding changesNone
git diff / –stagedCompare changesBefore staging/committingNone
git fetchDownload remote changesBefore integratingNone
git pullFetch and integrateUpdating your branchMedium (can conflict)
git pushUpload commitsSharing workMedium
git switch -c <name>New branchStarting a featureLow
git branch -d <name>Delete merged branchCleanupLow
git branch -D <name>Force-delete branchAbandoning workHigh
git merge <branch>Combine branchesFinishing a featureMedium
git merge –abortCancel conflicted mergeMerge went wrongLow
git rebase <base>Replay commitsUpdating private branchHigh if shared
git cherry-pick <hash>Copy one commitBackportingMedium
git stash / popShelve and restore workSwitching tasksLow
git restore <file>Discard file editsReverting local changesHigh (unrecoverable)
git restore –staged <file>UnstageFixing stagingLow
git reset –soft/–mixedUndo commits, keep changesLocal cleanupMedium
git reset –hardUndo and discard changesLast resortVery high
git revert <hash>Undo via new commitFixing shared historyLow
git clean -fdDelete untracked filesCleaning workspaceVery high
git push –force-with-leaseSafer force pushAfter rebasing own branchHigh
git reflogRecover lost commitsAfter mistakesNone
git tag -a v1.0 -m “…”Mark a releaseReleasingLow
git bisectFind bug-introducing commitRegressionsLow
git blame <file>See line authorshipUnderstanding contextNone

Frequently Asked Questions

1. What is Git used for? Tracking changes to code and files, collaborating with others through branches and merges, and recovering earlier versions.

2. Is Git difficult to learn for beginners? The daily basics (status, add, commit, push, pull, switch) can be learned in a few days. Rebase, reflog and conflict handling come with practice.

3. What is the difference between Git and GitHub? Git is the tool; GitHub is an online service that hosts Git repositories and adds collaboration features.

4. Do I need GitHub to use Git? No. Git works fully offline. GitHub, GitLab and Bitbucket are optional hosting platforms.

5. How do I fix a merge conflict in Git? Open the conflicted file, understand both changes, edit to the correct combined result, remove markers, test, git add and commit.

6. Should I use merge or rebase? Use merge for shared branches and finished features; use rebase to tidy and update your own private branch. Follow your team’s policy.

7. How do I undo my last commit? Local: git reset –soft HEAD~1. Already pushed to a shared branch: git revert HEAD.

8. Can I recover deleted commits or branches? Often yes, using git reflog, until the entries expire and garbage collection removes unreachable objects.

9. What is the best Git workflow for a team? It depends: GitHub Flow for continuous delivery, Git Flow for scheduled releases, trunk-based for mature CI. Many teams use feature branches with pull requests.

10. How can I practice Git? Create small projects, deliberately create and resolve conflicts, contribute to an open-source repository and try an interactive Git tutorial.

Conclusion

Git is not just a way to save code. It is a safety net that lets you experiment without fear, a collaboration system that lets many people build one product, an accountability trail that records what changed and why, and a delivery backbone that connects code to testing and production.

It will not guarantee your code is correct, stop every mistake or resolve every conflict for you. What it does is make mistakes visible and recoverable, and make teamwork structured instead of chaotic.

If you are a student, fresher, developer or DevOps engineer, the way to learn Git is to use it on real work. Start a repository today. Make small commits. Create a branch for every feature. Break something on purpose and recover it with reflog. Open a pull request, even to your own project. Contribute a small fix to an open-source repository. After a few weeks, commands that looked intimidating become habit, and you will understand why nearly every software team depends on this tool.

Official References and Further Learning

  • Pro Git book (free): git-scm.com/book
  • Git reference documentation: git-scm.com/docs
  • Git downloads: git-scm.com/downloads
  • GitHub Docs: docs.github.com
  • GitLab Docs: docs.gitlab.com
  • Bitbucket documentation: support.atlassian.com/bitbucket-cloud
  • Atlassian Git tutorials: atlassian.com/git/tutorials
  • Git LFS: git-lfs.com
  • git-filter-repo: github.com/newren/git-filter-repo
  • Interactive practice: learngitbranching.js.org

Stay Tuned: zixyi.com

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top