notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
There is a known issue with processing of security/vuxml data. As a results, the "Lastest Vulnerabilities" box is out of date and new entries after 2025-Sep-02 are not shown.
Port details on branch 2023Q3
git Distributed source code management tool
2.51.0 devel on this many watch lists=100 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.50.1Version of this port present on the latest quarterly branch.
Maintainer: garga@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2006-02-08 08:31:17
Last Update: 2025-08-19 14:34:16
Commit Hash: c045e02
People watching this port, also watch:: curl, pkg, bash, ca_root_nss, rsync
License: GPLv2
WWW:
https://git-scm.com/
Description:
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • git_daemon
Dependency lines:
  • git>0:devel/git
Conflicts:
CONFLICTS_INSTALL:
  • git-lite
  • git-tiny
To install the port:
cd /usr/ports/devel/git/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/git
  • pkg install git
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: git
Package flavors (<flavor>: <package>)
  • default: git
  • lite: git-lite
  • tiny: git-tiny
distinfo:
TIMESTAMP = 1755609765 SHA256 (git-2.51.0.tar.xz) = 60a7c2251cc2e588d5cd87bae567260617c6de0c22dca9cdbfc4c7d2b8990b62 SIZE (git-2.51.0.tar.xz) = 7857228

Expand this list (4 items)

Collapse this list.

SHA256 (git-manpages-2.51.0.tar.xz) = c10aea63316865ace762078a6e67fc3cf117b11a5c9d4a2a52cb3762ae22ed35 SIZE (git-manpages-2.51.0.tar.xz) = 602200 SHA256 (git-htmldocs-2.51.0.tar.xz) = dd33897c676ea140d57a652758e458756fa93582801cfd1d7e1f62acd5fa7580 SIZE (git-htmldocs-2.51.0.tar.xz) = 1627664

Collapse this list.


Packages (timestamps in pop-ups are UTC):
git
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.51.02.51.02.30.02.50.12.51.0---
FreeBSD:13:quarterly2.50.12.50.12.41.02.50.12.50.12.43.02.43.02.43.0
FreeBSD:14:latest2.50.12.51.02.39.02.50.12.51.02.41.0-2.41.0
FreeBSD:14:quarterly2.50.12.50.1-2.50.12.50.12.43.02.43.02.43.0
FreeBSD:15:latest-2.50.1n/a2.49.0n/a2.43.0_12.43.0_12.43.2
 

git-gui
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.30.0-----
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 

git-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.51.02.51.02.30.02.50.12.51.0-2.30.0-
FreeBSD:13:quarterly2.50.12.50.12.41.02.50.12.50.12.43.02.43.02.43.0
FreeBSD:14:latest2.50.12.51.02.39.02.50.12.51.02.41.0-2.41.0
FreeBSD:14:quarterly2.50.12.50.1-2.50.12.50.12.43.02.43.02.43.0
FreeBSD:15:latest-2.50.1n/a2.49.0n/a2.43.0_12.43.0_12.43.2
 

git-tiny
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.51.02.51.02.30.02.50.12.51.0-2.30.0-
FreeBSD:13:quarterly2.50.12.50.12.41.02.50.12.50.12.43.02.43.02.43.0
FreeBSD:14:latest2.50.12.51.02.39.02.50.12.51.02.41.0-2.41.0
FreeBSD:14:quarterly2.50.12.50.1-2.50.12.50.12.43.02.43.02.43.0
FreeBSD:15:latest-2.50.1n/a2.49.0n/a2.43.0_12.43.0_12.43.2
 

Slave ports:
  1. devel/git-cvs
  2. devel/git-gui
  3. devel/git-p4
  4. devel/git-svn
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. curl : ftp/curl
  2. p5-Error>=0 : lang/p5-Error
  3. asciidoctor : textproc/rubygem-asciidoctor
  4. xmlto : textproc/xmlto
  5. gmake>=4.4.1 : devel/gmake
  6. gettext-runtime>=0.22_1 : devel/gettext-runtime
  7. msgfmt : devel/gettext-tools
  8. python3.11 : lang/python311
  9. autoconf>=2.72 : devel/autoconf
  10. automake>=1.17 : devel/automake
  11. perl5>=5.42.r<5.43 : lang/perl5.42
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. curl : ftp/curl
  2. p5-Error>=0 : lang/p5-Error
  3. p5-Authen-SASL>=0 : security/p5-Authen-SASL
  4. p5-IO-Socket-SSL>=0 : security/p5-IO-Socket-SSL
  5. python3.11 : lang/python311
  6. perl5>=5.42.r<5.43 : lang/perl5.42
Library dependencies:
  1. libexpat.so : textproc/expat2
  2. libpcre2-8.so : devel/pcre2
  3. libintl.so : devel/gettext-runtime
This port is required by:
for Build
  1. archivers/py-bup
  2. audio/solfege
  3. cad/kicad-devel
  4. cad/netgen
  5. comms/wsjtx
  6. databases/mongodb80
  7. databases/mongosh
Expand this list (54 items / 47 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. deskutils/gnome-shell-extension-dashtopanel
  3. devel/c4core
  4. devel/git-cola
  5. devel/glab
  6. devel/hs-git-annex
  7. devel/magit
  8. devel/p5-Git-Repository
  9. devel/p5-Git-Wrapper
  10. devel/p5-Minilla
  11. devel/please
  12. devel/pylyzer
  13. devel/pyside2
  14. devel/pyside2-tools
  15. devel/rapidyaml
  16. devel/rebar3
  17. devel/shiboken2
  18. finance/favagtk
  19. games/libretro-scummvm
  20. graphics/lightzone
  21. java/eclipse
  22. lang/crystal
  23. lang/dotnet
  24. lang/dotnet8
  25. multimedia/handbrake
  26. net/quiche
  27. science/py-tensorflow
  28. security/crowdsec-blocklist-mirror
  29. textproc/gitlab-elasticsearch-indexer
  30. textproc/gitlab-zoekt-indexer
  31. www/gitlab-workhorse
  32. www/nyxt
  33. x11/openrgb
  34. Collapse this list.

Deleted ports which required this port:

Expand this list of 15 deleted ports
  1. databases/foundationdb*
  2. databases/foundationdb-devel*
  3. devel/bhyve-vm-goagent*
  4. devel/giggle*
  5. devel/magit-devel*
  6. devel/py-itools*
  7. lang/neko*
  8. math/sage*
  9. net/ceph13*
  10. net/ceph14*
  11. net-p2p/arbitrum-avm*
  12. science/libtensorflow1*
  13. www/gitlab-ce*
  14. www/hedgedoc*
  15. x11/altyo*
  16. Collapse this list of deleted ports.
for Extract
  1. devel/electron34
  2. devel/electron35
  3. devel/electron36
  4. devel/electron37

Deleted ports which required this port:

Expand this list of 24 deleted ports
  1. devel/electron11*
  2. devel/electron12*
  3. devel/electron13*
  4. devel/electron17*
  5. devel/electron18*
  6. devel/electron19*
  7. devel/electron21*
  8. devel/electron22*
  9. devel/electron23*
  10. devel/electron24*
  11. devel/electron25*
  12. devel/electron26*
  13. devel/electron27*
  14. devel/electron28*
  15. devel/electron29*
  16. devel/electron30*
  17. devel/electron31*
  18. devel/electron32*
  19. devel/electron33*
  20. devel/electron4*
  21. devel/electron5*
  22. devel/electron6*
  23. devel/electron7*
  24. devel/electron9*
  25. Collapse this list of deleted ports.
for Fetch
  1. audio/synthpod-lv2
  2. biology/gatk
  3. games/kanatest
  4. graphics/oidn
  5. math/barvinok
  6. math/ttmath
  7. net/charm
Expand this list (10 items / 3 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. science/salome-configuration
  3. science/salome-kernel
  4. textproc/xlnt
  5. Collapse this list.
for Patch

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. emulators/wine-staging*
  2. Collapse this list of deleted ports.
for Run
  1. deskutils/dstask
  2. deskutils/qownnotes
  3. devel/easygit
  4. devel/freebsd-git-devtools
  5. devel/gh
  6. devel/git-bug
  7. devel/git-cinnabar
Expand this list (104 items / 97 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/git-cvs
  3. devel/git-delta
  4. devel/git-extras
  5. devel/git-filter-repo
  6. devel/git-filter-repo-devel
  7. devel/git-gui
  8. devel/git-lfs
  9. devel/git-modes
  10. devel/git-p4
  11. devel/git-review
  12. devel/git-subrepo
  13. devel/git-svn
  14. devel/git-town
  15. devel/git-who
  16. devel/github-backup-utils
  17. devel/gitinspector
  18. devel/gitlab-runner
  19. devel/gitlist
  20. devel/gitolite
  21. devel/gitolite2
  22. devel/gittrac
  23. devel/glab
  24. devel/gogs
  25. devel/hs-git-annex
  26. devel/hub
  27. devel/jiri
  28. devel/lab
  29. devel/magit
  30. devel/mergify
  31. devel/ocaml-opam
  32. devel/p5-Git-Repository
  33. devel/p5-Git-Wrapper
  34. devel/p5-Minilla
  35. devel/paq-nvim
  36. devel/phabricator
  37. devel/phorgeit-phorge
  38. devel/py-all-repos
  39. devel/py-gitless
  40. devel/py-graal
  41. devel/py-versioningit
  42. devel/rubygem-git
  43. devel/rubygem-svn2git
  44. devel/shards
  45. devel/soft-serve
  46. devel/thunar-vcs-plugin
  47. devel/vipack
  48. misc/broot
  49. net-im/mastodon
  50. net-mgmt/semaphore
  51. ports-mgmt/portsdb
  52. ports-mgmt/porttools
  53. security/caldera
  54. security/git-crypt
  55. security/git-secret
  56. security/gopass
  57. security/py-zkg
  58. security/transcrypt
  59. shells/antibody
  60. shells/git-prompt.zsh
  61. shells/zsh-antigen
  62. sysutils/gitwatch
  63. sysutils/iocage
  64. sysutils/iocage-devel
  65. sysutils/onefetch
  66. sysutils/py-qmk
  67. sysutils/yadm
  68. textproc/diff-so-fancy
  69. textproc/docproj
  70. textproc/git-chglog
  71. textproc/logseq
  72. textproc/py-sphinx-last-updated-by-git
  73. textproc/television
  74. www/forgejo
  75. www/forgejo7
  76. www/gitea
  77. www/gobuffalo
  78. www/moinmoincli
  79. www/opengist
  80. www/py-frappe-bench
  81. www/rubygem-gollum
  82. www/tt-rss
  83. Collapse this list.

Deleted ports which required this port:

Expand this list of 16 deleted ports
  1. devel/giggle*
  2. devel/git-arc*
  3. devel/git-bzr-ng*
  4. devel/gitg0*
  5. devel/magit-devel*
  6. devel/monodevelop*
  7. devel/py-gitosis*
  8. devel/py-itools*
  9. devel/rubygem-mini_portile*
  10. editors/atom*
  11. math/sage*
  12. security/caldera4*
  13. textproc/docproj-legacy*
  14. www/gitlab-ce*
  15. www/py-rhodecode*
  16. www/trac-gitplugin*
  17. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for git-2.51.0: CONTRIB=on: Install contributed scripts CURL=on: Install curl support (provides HTTPS transport) DOCS=on: Build and/or install documentation GITWEB=on: Install gitweb ICONV=on: Encoding conversion support via iconv NLS=on: Native Language Support PCRE2=on: Use Perl Compatible Regular Expressions (v2) PERL=on: Perl scripting language support SEND_EMAIL=on: Enable the git-send-email(1) script SUBTREE=on: Install git-subtree ===> Use 'make config' to modify these settings
Options name:
devel_git
USES:
autoreconf cpe gmake iconv shebangfix tar:xz ssl gettext perl5 python
pkg-message:
For install:
If you installed the GITWEB option please follow these instructions: In the directory /usr/local/share/examples/git/gitweb you can find all files to make gitweb work as a public repository on the web. All you have to do to make gitweb work is: 1) Please be sure you're able to execute CGI scripts in /usr/local/share/examples/git/gitweb. 2) Set the GITWEB_CONFIG variable in your webserver's config to /usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi. 3) Restart server. If you installed the CONTRIB option please note that the scripts are installed in /usr/local/share/git-core/contrib. Some of them require other ports to be installed (perl, python, etc), which you may need to install manually.
Master Sites:
Expand this list (7 items)
Collapse this list.
  1. ftp://ftp.ntu.edu.tw/software/scm/git/
  2. ftp://ftp.riken.jp/Linux/kernel.org/software/scm/git/
  3. http://ftp.nara.wide.ad.jp/pub/kernel.org/software/scm/git/
  4. http://ftp.yandex.ru/pub/software/scm/git/
  5. https://cdn.kernel.org/pub/software/scm/git/
  6. https://mirrors.mit.edu/kernel/software/scm/git/
  7. https://www.kernel.org/pub/software/scm/git/
Collapse this list.

There are no commits on branch 2023Q3 for this port