Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungThe Model Got Better. Your Judgment Got Worse.(22.09.2026 um 03:02 Uhr)
Sichere ProgrammierungAIFeed - signed content permissions for AI web crawlers(22.09.2026 um 03:10 Uhr)
Sichere ProgrammierungThanks, glad you liked it!(22.09.2026 um 03:15 Uhr)
Sichere ProgrammierungA request for /.env shouldn't render your React app(22.09.2026 um 03:17 Uhr)
Sichere ProgrammierungAI-Agent Marketplaces Need Verifiable Delivery, Not More Listings(22.09.2026 um 03:20 Uhr)
AI & KI NachrichtenBeyond Bigger Models: Toward a Modular Cognitive Architecture(22.09.2026 um 03:21 Uhr)
Sichere ProgrammierungMasa Depan Manajemen Data: Mengenal Konsep Data Mesh yang Revolusioner(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungHow to Search Your Claude Code Conversation History(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungThe Model Got Better. Your Judgment Got Worse.(22.09.2026 um 03:02 Uhr)
Sichere ProgrammierungAIFeed - signed content permissions for AI web crawlers(22.09.2026 um 03:10 Uhr)
Sichere ProgrammierungThanks, glad you liked it!(22.09.2026 um 03:15 Uhr)
Sichere ProgrammierungA request for /.env shouldn't render your React app(22.09.2026 um 03:17 Uhr)
Sichere ProgrammierungAI-Agent Marketplaces Need Verifiable Delivery, Not More Listings(22.09.2026 um 03:20 Uhr)
AI & KI NachrichtenBeyond Bigger Models: Toward a Modular Cognitive Architecture(22.09.2026 um 03:21 Uhr)
Sichere ProgrammierungMasa Depan Manajemen Data: Mengenal Konsep Data Mesh yang Revolusioner(22.09.2026 um 03:22 Uhr)
Sichere ProgrammierungHow to Search Your Claude Code Conversation History(22.09.2026 um 03:22 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Version Control for Beginners: The Pendrive Analogy

Life Before Version Control Imagine this: you are a developer in the 1990s, building software. There is a bug that you could not fix, and you want your colleague John to help you. You already have the source code. Now the question is,…

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




Life Before Version Control



Imagine this: you are a developer in the 1990s, building software. There is a bug that you could not fix, and you want your colleague John to help you. You already have the source code. Now the question is, how do you transfer the code to him?






The Pendrive Problem



Maybe by using a pendrive, hard disk, email, or CDs, you can copy the code and give it to John. John copies the code into his system and starts working on it. John is a good developer and is able to fix the bug.



After fixing it, John deletes your old code, copies the updated version to the pendrive, and gives it back to you. Now you copy the code from the pendrive and see that the original bug is fixed, but there is another bug in an unexpected part of the code.



Image of pendrive analogy






Why final_final_v2 Was Never Final



At this point, you are confused. Is the new bug your fault or John's? There is no way to confirm that.



Folder names turned chaotic



So what you both decide is that every time you make any change, you will not delete the old code from the pendrive. Instead, you will add the new code with the name final.

folder name problem

As the codebase grows, you start seeing many confusing names like final_v2, latest_final, latest_final_final, and latest_final_super_final.






Why Teams Needed a Better System



Soon, you are confused again. Which is the latest code? Who changed which part? Why are there unexpected bugs?



These are problems faced by only two developers. Now imagine adding one more developer to the team, say Will. Just imagine the chaos that will be caused.



You are extremely frustrated because you are not able to track changes in your code. So you decide to build software that can track changes in files. What this software does is whenever anyone adds or rewrites code, it keeps track of the previous changes and also records who the author was (who changed or added the code).



With this, one major problem is solved: the multiple file and folder problem. No matter how many developers are there, everyone can work in the same folder. This software is called Git, and it was developed by Linus Torvalds.






What is Version Control?



Version control is a system that tracks changes made to files over time so you can see what changed, who changed it, and when it changed.



Using Version Control you can →




  • Tracks every change in code

  • Eliminates final_final_v2 folders

  • Prevents accidental overwrites

  • Provides full change history

  • Makes collaboration possible

  • Shows exactly what changed

  • Identifies the author of each change



However, there is still one problem: transferring code.



You are still using the pendrive. The pendrive always contains the latest code, and only one developer can work at a time. When you have the pendrive and make changes, you have the latest code, but all other developers have stale code on their systems, on which they cannot make changes.



Frustrated again, you decide to set up a central server where you install git and store your codebase. This server always contains the latest version of the code. All developers pull the code from the server, make their changes, and push it back to the server.



Overview of Git and Github

In this way, all developers can work simultaneously and compare their code against a single source of truth, which is the code on the server. This server is called GitHub.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Version Control for Beginners: The Pendrive Analogy

Thematisch verwandte Begriffe: Version, Control, Beginners, Pendrive · 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 ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-49449 | Joplin is an open source note-taking and to-do application that organise…
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