GITKEEP

gitkeep icon

Gitkeep data

File type: Various data file

A .gitkeep file is a placeholder used to keep an otherwise empty directory in a Git repository. It follows a user-established convention, not a special Git file format.

What is gitkeep file?

File type category:
Various data file

Date updated: November 23, 2026

Git does not track empty directories. Committing a placeholder file in a directory gives Git a file to track, so the directory remains represented in the repository. The name .gitkeep is customary, but Git does not require that name.

A .gitkeep file is often empty, and its contents have no defined format. It is not an official Git format; it is a convention used with Git.

How to open gitkeep file?

Open a .gitkeep file with any text editor on your platform. It is often empty, so the editor may show a blank document; Git uses it as a tracked placeholder rather than as a file to interpret.

How to convert gitkeep file?

Conversion is unnecessary because a .gitkeep file has no defined data format. If it is an empty placeholder, keep it as-is and commit it to the Git repository.

Suggested software to open gitkeep file:

Associated software actions with the gitkeep file

Software apps that create gitkeep files:

Multiplatform

Software applications that handle other tasks involving gitkeep files:

Multiplatform

Related file extensions