Skip to contentBlack FridayTaskglass is $9 instead of $14Get the deal →

What is git on Mac?

By Junaid, maker of Taskglass · Last reviewed

Summarize this page with

Git, the version control tool, often run in the background by code editors.

git tracks changes in code projects. Besides commands you type, editors like Xcode, VS Code and Cursor, and Git apps, run git in the background to show file status and changes. Several short-lived git processes are normal.

Category
Developer tools
Made by
Git project (open source)
Safe to quit:
With care

Shown in Activity Monitor as git

Why is git using so much CPU or memory?

  • Editors checking status in large repositories
  • Cloning, fetching or garbage-collecting big repositories
  • Repositories with huge numbers of files

What to do

  1. 1Let clones and fetches finish
  2. 2Close very large projects in editors you aren't using
  3. 3Add build folders to .gitignore so git doesn't scan them

Safe to quit? With care.

Interrupting a git operation can leave a lock file behind; usually only status checks are affected.

Is it genuine? How to check

Malware sometimes borrows the name of a real process. The real one runs from a fixed place and carries its maker's code signature, so check both.

git

Location
/usr/bin/git
Signed by
Apple (part of macOS)

Check the signature in Terminal:

codesign -dv --verbose=2 "/usr/bin/git"

The genuine file prints these lines:

Identifier=com.apple.dt.xcode_select.tool-shim-public
Authority=macOS Software Signing
TeamIdentifier=not set

To see where the running copy lives, run this in Terminal and compare the path:

ps -axo pid,user,comm | grep -F git

In Activity Monitor: select the process, click the Info button (ⓘ), then Open Files and Ports. The first line is the program's path.

Paths and signatures checked on macOS 27.0.1 (26A434), Apple M4, November 17, 2026. Other macOS versions can differ.

Related guides

Related processes

Part of the Taskglass Process Library · More Developer tools processes

See this process live in Taskglass.

Taskglass shows what git is doing on your Mac right now, groups it under the app that started it, and checks its code signature for you. It explains 224 processes this way.

See how Taskglass works →How it compares with Activity Monitor →