DEV Community

Cover image for What is Git? For beginners
Aman Jaswal
Aman Jaswal

Posted on

What is Git? For beginners

𝗪𝗵𝗮𝘁 𝗶𝘀 𝗚𝗶𝘁?

Git is a 𝗗𝗶𝘀𝘁𝗿𝗶𝗯𝘂𝘁𝗲𝗱 𝗩𝗲𝗿𝘀𝗶𝗼𝗻 𝗖𝗼𝗻𝘁𝗿𝗼𝗹 𝗦𝗼𝗳𝘁𝘄𝗮𝗿𝗲 that keeps track of every modification to the code/file over time.

Git allows you to create branches of your 𝗪𝗵𝗮𝘁 𝗶𝘀 𝗚𝗶𝘁?

Git is a 𝗗𝗶𝘀𝘁𝗿𝗶𝗯𝘂𝘁𝗲𝗱 𝗩𝗲𝗿𝘀𝗶𝗼𝗻 𝗖𝗼𝗻𝘁𝗿𝗼𝗹 𝗦𝗼𝗳𝘁𝘄𝗮𝗿𝗲 that keeps track of every modification to the code/file over time.

Git allows you to create branches of your main file.
$ 𝚐𝚒𝚝 𝚋𝚛𝚊𝚗𝚌𝚑 𝚗𝚎𝚠𝙱𝚛𝚊𝚗𝚌𝚑
$ 𝚐𝚒𝚝 𝚌𝚑𝚎𝚌𝚔𝚘𝚞𝚝 𝚗𝚎𝚠𝙱𝚛𝚊𝚗𝚌𝚑

This way you move to the new branch and you can edit or try any new feature without the fear of loosing the previous stable version.

Checkout the post for more info:

I struggled a lot to figure out what git was and how it was beneficial.

If you are new to programming. Git is a "must have" skill.
It saves a lot of your time, hassle !!

𝗧𝗿𝘆 𝘂𝘀𝗶𝗻𝗴 𝗚𝗶𝘁 𝗰𝗼𝗺𝗺𝗮𝗻𝗱𝘀 𝗮𝗻𝗱 𝗱𝗿𝗼𝗽 𝘆𝗼𝘂𝗿 𝘁𝗵𝗼𝘂𝗴𝗵𝘁𝘀 𝗶𝗻 𝘁𝗵𝗲 𝗰𝗼𝗺𝗺𝗲𝗻𝘁 𝘀𝗲𝗰𝘁𝗶𝗼𝗻 !!

@progressiveprogrammer

100daysofcode

Alt Text

Alt Text

Alt Text

Alt Text

Alt Text

Alt Text

Alt Text

Alt Text

Alt Text

Top comments (0)