Version Control of a Python Project using Git

4.3
stars
22 ratings
Offered By
Coursera Project Network
1,552 already enrolled
In this Free Guided Project, you will:

Stage the files and directories using Git Add. Use Git status to track the changes.

Use Git Commit to commit changes to the local repository.

Revert to a previous local version using Git checkout and Git reset.

Showcase this hands-on experience in an interview

Clock1 hour
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

Version Control Systems keep track of files by saving changes over time. For example, a developer can make changes to a file and check the file in to the system. The system will create a version for that file and any other files that were changed. If any subsequent changes are made later that prove to break the software, a previous working version of the software can be recalled. Git was developed to provide an efficient means of version control and was originally developed to track Linux Kernel development. In this course, you will create a local Git repository using an existing directory structure containing directories and files. You will use Git commands such as add, commit, and status to commit changes to your local Git repository. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Requirements

Learners should be familiar with using a Linux environment, including familiarity with an editor, the Linux file system, and command line.

Skills you will develop

Python ProgrammingPandasLinux Command LineGITVersion Control

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Use git init to create a repository and configure Git.

  2. Create python code and files in the directory structure.

  3. Stage the files and directories using Git Add. Use Git status to track the changes.

  4. Use Git Commit to commit changes to the local repository.

  5. Revert to a previous local version using Git checkout and Git reset.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.