How To Setup a Local Git Server on Proxmox @Liv4IT
How To Setup a Local Git Server on Proxmox  @Liv4IT
Uploaded August 2024 | Updated September 2026, 2 weeks ago
How To Setup a Local Git Server on Proxmox

Git is a popular version control system that is widely used for software development and other collaborative projects.

Setting up a Git server on Ubuntu allows you to host Git repositories on your own server, which can be useful for collaborating with a team or hosting open-source projects that others can contribute to.

In this video, we will learn how to set up a Git server on Ubuntu 20.04 LTS. We installed Git, created a new user to manage the repositories, created a repository directory, initialized a new bare repository, and set the correct permissions on the repository so that other users can access it.

Step 1: Install Git
sudo apt-get update
sudo apt-get install git

Step 2: Create a Git User
sudo adduser git

Step 3: Create a Repository Directory
sudo mkdir /usr/local/git

Step 4: Change the ownership of the directory to the git user
sudo chown git:git /usr/local/git

Step 5: Switch to the git user
su -l git

Step 6: Initialize a new bare repository
git init โ€“bare myproject.git

Step 7: Configure SSH access for the git user
mkdir .ssh && chmod 700 .ssh
touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys

step 8: add SSH public keys to the authorized_keys file for the git user.
nano ~/.ssh/authorized_keys

Step 9: Clone the repository from the serve
git clone git@server:/usr/local/git/myproject.git


















๐ŸŒธ Support channel & make donation :
paypal.me/aminenina/10

๐ŸŒธ Subscribe for more videos :
Youtube: youtube.com/user/aminosninatos

๐ŸŒธ Follow me On Social Media
Facebook : facebook.com/aminosninatos

***********************************************************************
๐ŸŒธProxmox Useful CLI Commands
youtu.be/PNCF4QFItSo

๐ŸŒธProxmox Create a Firewall Rule Template
youtu.be/9rKA1KPFtS0

๐ŸŒธHow to Configure the Firewall on Proxmox
youtu.be/SnjBjU9irtg

๐ŸŒธHow To Run TrueNAS on Proxmox VE Server
youtu.be/mpOgaymIL6o

๐ŸŒธProxmox Passthrough Disk Configuration
youtu.be/pPPPt5GPbvw

๐ŸŒธHow To Install OPNSense Firewall on Proxmox VE
youtu.be/XdoXGjVwkug

๐ŸŒธHow To Install Windows Server 2025 VM on Proxmox VE
youtu.be/ZiEopfr4E60

๐ŸŒธHow to Configure SDN Software Defined Network on Proxmox
youtu.be/EinV4FqvCHA

๐ŸŒธHow To Install Ubuntu 24.04 Noble Numbat on Proxmox VE
youtu.be/OuFgRe4POh4

๐ŸŒธ How To Upgrade Proxmox Host to version 8 .1
youtu.be/WLgnEIxeO2I

๐ŸŒธ Proxmox Protecting sensitive data with Ansible Vault
youtu.be/ApRplW4hBoU

๐ŸŒธ How to Deploy LXC Container in Proxmox with Ansible
youtu.be/XdozKMndWdo

๐ŸŒธ How To Install Packages on Proxmox VM with Terraform
youtu.be/RRJrLTeU67Y

๐ŸŒธ How to deploy VMs in Proxmox with Terraform
youtu.be/wkoMcVBqjuI

๐ŸŒธ How to Deploy LXC Container in Proxmox with Terraform
youtu.be/lA6ldI42fBc

๐ŸŒธ How To Create Proxmox Cloud-init Templates
hyoutu.be/3TH7fBUAIxk

๐ŸŒธ How to check ZFS File System Storage Pool on Proxmox
youtu.be/3mkP09SonD4

๐ŸŒธ How to Fix Proxmox PVE canโ€™t create ZFS pool
youtu.be/JtHzV2TXs6M

๐ŸŒธ How to Rename Proxmox Node with Existing VMs & Containers
youtu.be/2NzLYKRVRtk

๐ŸŒธ How to take Snapshots and run Backups on Proxmox
youtu.be/98WDxmvTkwY

๐ŸŒธ How to Create Windows Server 2022 Virtual Machine on Proxmox
youtu.be/lBEwjt0ahhA

๐ŸŒธ How to Create Proxmox Linux Container
youtu.be/IfMPyttso68

๐ŸŒธ Troubleshooting Proxmox using Command Line Tools
youtu.be/RH8mlE-YXGY

๐ŸŒธ Proxmox Sizing CPU and Memory
youtu.be/R172TAWV9xY

๐ŸŒธ How to create a Proxmox Template
youtu.be/waswSpK8X_M

๐ŸŒธ How to Install Proxmox QEMU Guest Agent on Ubuntu
youtu.be/ZpEYkA4C4jY

๐ŸŒธ How to migrate a Virtual Machine from Proxmox to Vmware ESXI
youtu.be/wuKzNbDpkfg


***********************************************************************

#git #github #proxmox
How To Setup a Local Git Server on Proxmox๐Ÿง  GGUF File Names Explained for Beginners | Learn Q4_K_M, IQ, UD, QAT, MoE  & More!How to protect ESXI VMs from EsXIArgs RansomwareHow To Create a Simple Workflow On n8n Worlds Most Popular Automation Platform๐Ÿ“ก How to Set Up Telegram Notifications on a MikroTik Router | Step-by-Step Guide
Liv4IT |

How To Setup a Local Git Server on Proxmox

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER