Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Windows Tipps & SecurityNighthawk M7 Pro im Test: Flexibler, aber teurer 5G-Router(21.09.2026 um 10:30 Uhr)
Sichere ProgrammierungNeue Gmail-Funktion: So sparst du jetzt Zeit bei Einmalcodes(21.09.2026 um 10:00 Uhr)
Sichere ProgrammierungYour GIF exporter is fine — the container is the problem(21.09.2026 um 10:01 Uhr)
Sichere ProgrammierungCSS, Motion, or GSAP? I Choose by Who Owns the Animation(21.09.2026 um 10:12 Uhr)
Windows Tipps & SecurityNighthawk M7 Pro im Test: Flexibler, aber teurer 5G-Router(21.09.2026 um 10:30 Uhr)
Sichere ProgrammierungNeue Gmail-Funktion: So sparst du jetzt Zeit bei Einmalcodes(21.09.2026 um 10:00 Uhr)
Sichere ProgrammierungYour GIF exporter is fine — the container is the problem(21.09.2026 um 10:01 Uhr)
Sichere ProgrammierungCSS, Motion, or GSAP? I Choose by Who Owns the Animation(21.09.2026 um 10:12 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

How to setup your own "Git Server"

Recently, I was tasked to setup an on-premise Git server to store a source code repository of one of our developed software. Me as a noob about Git, I know there is no such thing as "Git Server" technically, all I know is that all source…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Recently, I was tasked to setup an on-premise Git server to store a source code repository of one of our developed software. Me as a noob about Git, I know there is no such thing as "Git Server" technically, all I know is that all source codes, version controls , repositories are pushed only to GitHub.



I was so confident, Git doesn't have its own server and arrogantly read one of their documentation until I found this, 4.2 Git on the Server - Getting Git on a Server. A demonstration on how to setup Git on a Linux-based server.



According to Git, this can also possible to run on Windows Server. So, I tried it on one of our test Windows Server VM. Found this tutorial on YouTube






The Setup






Windows Server VM:




  1. Install Git (Git UI or Git Bash are optional to include but highly recommended)



  2. Create a folder and share this folder in the network (make sure to share this within your organization).




    • Right click and select Properties

    • Click share and add the organization

    • Set it to Read/Write

    • Copy the network shared file path (need it for later)
      Repository

    • Initialize a Git bare repository inside the folder






git init repo <YOUR_REPO_NAME> --bare









Client Laptop (My Laptop):




  1. Install Git (Git UI or Git Bash are optional to include but highly recommended)


  2. Setup a global username and email (if you are using a domain account, Git will automatically fetch your name and email)





git config --global user.name "YOUR_NAME"
git config --global user.email "YOUR_EMAIL"







  1. Allow sharing across users




git config –-global –-add safe.directory YOUR_REPO_DIRECTORY







  1. Clone the repository




git clone YOUR_REPO_DIRECTORY






I accessed the repository using Visual Studio Code. Modified, commit and pushed some changes.

Visual Studio Code



I tried to access this using the GitHub Desktop but unfortunately, GitHub desktop does not support bare repositories, as an alternative I used Git Extensions.



Git Extensions






Conclusion



Technically, this is not the "Git Server" that you might expect, a service running on a server and accessing it via IP address on port 3000. Gitea might be the one you're looking for since this is just a network shared folder with a bare git repository.



I currently have no idea if this is good in the long run. This might be good for small set ups with few projects and developers. Since we will not fully utilize this, this setup will be good for small company.



This is probably not scalable, I think? and some complicated aspects like user management are not configured. Setting up a read-only repositories for certain users might be a challenge and this might not be the recommended setup at all.



Thank you for reading!

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten How to setup your own "Git Server"

Thematisch verwandte Begriffe: setup, your, Server · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94030 | A security vulnerability has been detected in SerenityOS up to 3d83e4509…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick