Backing up and Sharing Code: Git

Have you ever tried to use Dropbox for sharing code with collaborators on a project, but accidentally deleted someone else’s work? Ever wished you could undo that “improvement” you made to your program four days ago that you now realize breaks your code? Whether you’re working with others, or are coding on your own, using a version control system can make development a much more sane and enjoyable process, while facilitating team development and code sharing. Armed some essential Git commands that you’ll learn in this course, you’ll worry less and code more. We’ll focus on basic usage of OIT’s GitLab repository management system, but the techniques will be applicable to GitHub or other git-based version control systems. You don’t need to be an expert, but to get the most out of this course you should have some small level of familiarity with using a terminal to enter command-line instructions on Linux, Mac or Windows.

Instructor:
Danai Adkisson | Innovation Co-Lab Developer & Instructor

Anni Yan | Innovation Co-Lab Developer & Instructor
Anni is a recent grad from Duke University, and she is working at the Co-Lab now. She is passionate about data visualization, game designs and web development. Outside of work, Anni loves to hangout with Yuki(her cat), bake and play games.

  • Git

About Course

Outline

  • How Version Control Works
  • Creating Repositories
  • Making Commits
  • Pushing commits to remote repositories
  • Pulling and cloning remote repositories

Objectives

  • Configure Git for use
  • Use Git to manage files from the command line
  • Create and manage repositories
  • Manage a remote repository in Gitlab

This class is part of our Web Development (Front End) Track

See the whole track

This class is part of our Software Development Track

See the whole track

This class is part of our Research Computing Track

See the whole track

Suggested Courses

Course Graphic

Intro to Python

Welcome to the How to Program (with Python) class -- this is a class intended for people with little to no programming experience who want to learn introductory programming. Learn about variables, strings and more.

Learn More
Course Graphic

How to Program with Ruby (1/2)

Ruby is a modern object oriented programming language used in many tech stacks in the industry. Created by Yukihiro Matsumoto in 1995; Ruby has evolved into a widely adopted for its readability and ease of use to those learning a programming language. This class will touch on several fundamental concepts of Ruby programming.

Learn More