<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Antek Grzanka on Medium]]></title>
        <description><![CDATA[Stories by Antek Grzanka on Medium]]></description>
        <link>https://medium.com/@grzantek?source=rss-bd442e6fd3fa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*JMIxnJhEyBefWAng.</url>
            <title>Stories by Antek Grzanka on Medium</title>
            <link>https://medium.com/@grzantek?source=rss-bd442e6fd3fa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 09:54:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@grzantek/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Git 101 — why do I even?!]]></title>
            <link>https://medium.com/eestec-it-community/git-101-why-do-i-even-c6325480dd38?source=rss-bd442e6fd3fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6325480dd38</guid>
            <dc:creator><![CDATA[Antek Grzanka]]></dc:creator>
            <pubDate>Fri, 08 Dec 2017 20:05:41 GMT</pubDate>
            <atom:updated>2017-12-08T20:05:41.312Z</atom:updated>
            <content:encoded><![CDATA[<p>I guess most of you are familiar with Git — or at least heard about it on university or from colleagues. But… isn’t your relationship with Git like on this awesome <a href="https://xkcd.com/1597/">XKCD comic</a>?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*0o9GZUzXiNnI4poEvxvy8g.png" /><figcaption>Source: XKCD.</figcaption></figure><p>Imagine the following situation. Professor at the university says that “you have to use Git for this project”, but doesn’t bother to explain how does this Git thing work. So you find some tutorial, copy some commands, it automatically uploads your code to some remote server… if it does. If an error happens, you panic, use the first answer from a StackOverflow, then the second and then the third… and you end up messing your app.<br>That sounds familiar to anyone? ( ͡° ͜ʖ ͡°)</p><p>Thing is, that for people who are new to the world of programming, it’s hard to see any pros that come with using Git. I will try to share some of my thoughts on why Git is the most important tool in developer’s toolbox.</p><h4>Even if you work alone, it’s worth to use Git.</h4><ol><li><strong>It’s easy to undo things</strong>. Do you remember building student projects and the happiness when you finally made it work? That’s awesome. But do you also remember the fury when you changed something and you couldn’t figure out what and couldn’t make it work again? Yeah, that sucks.<br>By splitting your work into commits, you can create a <strong>“checkpoint”</strong>, capture the state of code when your application was working and safely proceed with fiddling with changes. If it breaks and you want to play Hermione and reverse the time — you can just delete the changes that you made since the checkpoint happened. Tada!</li><li>It systematizes your workflow. Create, test, commit. Repeat. Just <strong>build good habits</strong> of splitting the changes into smaller chunks.</li><li>If you decide to sync your files with a remote server once in a while, you get a <strong>pretty solid backup</strong> of your work. No more <em>“my dog ate my code”</em> excuses — everything is in the cloud!</li><li>Git (or, more generally, using Version Contol Systems like Git) is de facto a <strong>standard in the modern programming world</strong>. The sooner you learn it, the better for you.</li></ol><h4>But in reality you don’t usually write all these apps alone, right?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*xOZ0vKuR8AH1br_xZYg-aA.gif" /><figcaption>Source: Imgur.</figcaption></figure><p>It’s very likely that you aren’t the only person that wants to contribute to your code. There are most likely some people helping you. Sites like Facebook or Google are not created by a single, clever person who codes all day and night.</p><p>How can you approach the problem of more than one person working on the same files? Let’s think about it using a hypothetical situation.</p><blockquote>A: Hey man, so how about I just code my module, then just send you the files?</blockquote><p>B: Sure. Zipped folder on Messenger, like last time? That worked like a charm.</p><blockquote>A: Hmm… we can do better. Maybe Dropbox? I heard that professionals are using that.</blockquote><p>B: Cool! Wait, but what about some shared files that we both use and edit on the way? You remember the last time, we had a huge problem with making it work…</p><blockquote>A: Right… Wait, isn’t it what Google Docs are for? We can both edit these the same file live.</blockquote><p>B: <a href="https://www.quora.com/How-do-I-explain-to-someone-the-difference-between-GitHub-and-Dropbox-Google-Docs-and-Drive">Yeah</a>, but we are not coding in Word? Plus, copying a hundred files every time you want to compile your app doesn’t sound fun. There has to be some better solution…</p><blockquote>A: Ok, maybe we are overcomplicating… so how about this: I work for a few days, then you copy the files from me and work on this?</blockquote><p>B: But I want to start working now, I just have a couple of free days!</p><blockquote>A: Aaarghhh! Let’s just do our parts and worry about merging it later!</blockquote><p>B: And end up like last time, when we basically rewrote the whole app in a desperate<em> tomorrow-is-a-deadline night hackathon</em>? No, thank you.</p><blockquote>A: Darn it! I wish there was a way to <strong>automagically track only the code lines that have changed</strong> on my or your side and share these changes.</blockquote><p>B: Yeah, that makes sense! But keeping track of all these changes manually would be a mess.</p><blockquote>A: Totally. I wish there was software to handle that for us…</blockquote><p>B: Yeah…</p><p>Well, <a href="https://try.github.io/levels/1/challenges/1">there is, you know.</a></p><p><em>If you are still not convinced, you may enjoy </em><a href="http://purelywebdesign.co.uk/tutorial/git-what-and-why-an-introduction-for-students/.http://purelywebdesign.co.uk/tutorial/git-what-and-why-an-introduction-for-students/"><em>reading a short tutorial</em></a><em> explaining a different point of view on this topic.</em></p><p><em>Also, check out </em><a href="https://codeburst.io/number-one-piece-of-advice-for-new-developers-ddd08abc8bfa"><em>this piece of advice from an experienced developer</em></a><em> about why it’s important to start using Git as soon as possible.</em></p><p><em>And if you still aren’t sure what Git exactly is, you can watch this </em><a href="https://youtu.be/uUuTYDg9XoI"><em>short explanatory video from Codemy School</em></a><em>. Or enjoy this </em><a href="https://www.youtube.com/watch?v=1ffBJ4sVUb4"><em>amazing child-like approach to git</em></a><em>, if you’re into conference talks (warning: 99 minutes, but it’s worth it!)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6325480dd38" width="1" height="1" alt=""><hr><p><a href="https://medium.com/eestec-it-community/git-101-why-do-i-even-c6325480dd38">Git 101 — why do I even?!</a> was originally published in <a href="https://medium.com/eestec-it-community">EESTEC IT Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>