Team Flow with Git
On Thursday, I discussed how we’ve been switching up our structuring and project approach in an effort to simulate a real-life workplace environment as preparation for the next steps in our journey toward becoming professional developers.
A critical component of this week’s team project development has been the implementation of Git and GitHub as a collaboration tool. I’ve written about Git and it’s handy implementation supplement, GitHub, in a previous post, but will sum up briefly here:
Git is a type of version control system (VCS) that enables change tracking in your code and documents and allows multiple developers to collaborate on a project. GitHub, on the other hand, is a website that facilitates a more accessible visual use of Git and is something that we have used every single day since beginning this class.
As most of the assigned projects and activities have been completed individually or using pair programming protocol, my use of GitHub up to this point has primarily not been collaborative in nature. Moving into a team environment, the use of some of GitHub’s more advanced and useful team/project management tools are critical and have come into constant play.
As with other team/project management tools, there are a lot of options and different approaches when it comes to working with GitHub, and we discussed a few different workflows that are popular in the GitHub universe in our class:
Get Emily Deans’s stories in your inbox
Join Medium for free to get updates from this writer.
Centralized Workflow is one approach in which each developer creates their own local copy of a project (done via cloning) of an entire project. With this approach, developers add commits to their own local repository and don’t worry about “upstream” development (toward a project’s original developers or code maintainers) until it’s a strategic time to do so. Using a centralized workflow, developers will push their entire local master to the central repository when it’s time to publish their changes and those changes will be reviewed there.
For this week’s group project, we used the Feature Branch Workflow to tackle our work. This approach involves breaking down each component of a project into a “feature”, which is worked on on its own specific branch (as opposed to being worked on on the master branch).
When the developer has completed the designated feature, they push that branch to the master branch and make a “pull request”, which requires other developers in the team to review the code changes before those changes are merged into the master branch.
Making pull requests is a helpful development practice as it requires at least one extra set of eyes on new code. This is useful for reducing the risk of bugs and other mistakes, and is also a helpful learning tool in that it provides an opportunity for a developer to carefully pore over a teammate’s code and ask clarification and comprehension questions and make suggestions and improvements — subsequently resulting in a stronger overall program.
We definitely hit a few bumps starting the project as we tried to navigate the new context and tools, but after working through some initial kinks and merge-conflicts, we were able to get into a good flow and build up some solid features in our program. Working through the weekend on a few projects and gearing up for our FINAL WEEK of instruction. Can’t believe we’re already here, but grateful for every step of the way.
Song of the Day: “Across the Room” by ODESZA ft. Leon Bridges









