Installing Git on MX-Linux - how to do this

dear community,

installing Git on MX-Linux - how to do this.

trough the

a. package manager or
b. Synaptic-tool or
c. the command line?!

Look forward to hear from you



apt list *git* -i(base) martin@mx:~
$ apt list *git* -i
Auflistung... Fertig
git-man/stable,stable,stable,stable,now 1:2.20.1-2+deb10u3 all  [Installiert,automatisch]
git/stable,stable,now 1:2.20.1-2+deb10u3 amd64  [installiert]
gitk/stable,stable,stable,stable,now 1:2.20.1-2+deb10u3 all  [installiert]
(base) martin@mx:~

allready done - it is installed on MX Linux by default

btw - see here the quick-manual: howto: git (github) usage - MX Linux Forum

Please start to use the nice tools we have available for free to contribute code, once you get the hang of it, it makes it much easier to collaborate and work in a distributed fashion than passing ar
around tarballs, downloading them, untarring, finding which files were changed, what was changed, etc.

0. create account if you don’t have one

  1. fork the github repo that you want to work upon in the github interface (this will give your own repo where you can make changes and try things on your own)
  2. git clone yourgithubrepo (you get the yourgithubrepo from github interface, this creates a local folder with the files from the repo)
  3. cd to the new folder created by the previous command
  4. git remote add upstream upstreamgithubrepo (the uptreamgithubrepo is the one that you forked from, makes it easier to track changes in the upstream)


  1. git fetch upstream (to get any changes from upstream before committing)
  2. git merge upstream/master (to merge the changes)
    Alternatively, you can run one command “git pull upstream master” instead of fetch and merge, make sure though you don’t have any uncommitted changes, this will wipe them.
  3. work on the project: modify, add, remove files

and so forth and so forth

many many thanks for this great place here.
have a great day.