5 things you need to get about working with Git
Terry Threatt
Posted on February 15, 2021
Since being introduced in 2005 by Linus Torvalds (Creator of the Linux kernel). The distributed version control system, Git has been a staple of productivity for programmers. The open-source tool allows you to track and distribute versions of each file system in the programs you create.
Here are some important things to know:
1. How does it work?
Git works in the background, directly with your file-system. We can initialize a new local repository for any new project on your computer. This will get you access to the Git commands that will allow you to do things like revisit older versions of your project or share copies of your code on a hosted platform.
2. You can use it with teams?
A huge benefit of a version control system is the ability for several team members to clone copies of a codebase and work in isolation. Popular project management tools like Jira can make this process work well.
3. Where can you use Git?
A local git repository can live on your computer but to really take advantage of git. You can publish your repository to one of several hosting platforms. Github is a very popular git repository platform that many teams utilize.
4. It may be used by potential employers
Employees can get a gauge of how much coding you have done by checking your public repositories on Github. Each new commits you push provides an indication of your work progress and are represented by green squares on your profile.
5. Useful commands
Starting a new git project
$ git init
Stage any changes in your project
$ git add <your filename>
Commit project changes to Github
$ git commit -m "your helpful commit message here"
Publish local repository changes to Github
$ git push
Let's chat about Git
Now you know the gist of the version control system - Git. If you enjoyed this post feel free to leave a comment about your thoughts and experiences working with Git.
Happy Coding,
Terry Threatt
Posted on February 15, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.