Git: Git Intro Activity

From Foss2Serve
Revision as of 03:21, 12 August 2016 by Stoney.jackson (Talk | contribs)
Jump to: navigation, search
Title Git Intro Activity
Overview Participants, in teams of 2-3, work through an activity to learn how to install, configure, and use git to manage local repositories.
Prerequisite Knowledge
  • Command-line operations:
    • Change working directory (cd)
  • Filesystem operations:
    • Create, rename, move, and delete directories and files
  • Plaintext editor operations:
    • Edit and save a file
Learning Objectives Participants will be able to:
  • Install git
  • Configure git
  • Make and commit changes to a repository
  • Add new files to a repository
  • Remove a file from a repository
  • Modify a file and commit the change
  • Stage changes for commit
  • Unstage changes for commit
  • Explain the purpose of the stage/cache/index
  • Inspect the state of a repository
  • Undo a commit


Activity is maintained here:


Directions are available here:


A completed worksheet and a git repository.


This is an in-class, team-based learning activity, and is not intended for assessment. If you really want to assess it, you would review answers teams give to questions and the git repository they produced. You could also circulate during the activity and assess team work and critical thinking.


Additional Information:

ACM Knowledge Area/Knowledge Unit Software Engineering (SE)
ACM Topic Software configuration management and version control
Level of Difficulty Medium
Estimated Time to Completion 70 minutes
  • Participants: 2+
  • Each team needs 1 computer with
    • A command-line interface
    • A plaintext editor
    • A browser
    • A working Internet connection with ports open for HTTP and HTTPS
Author Darci Burdge and Stoney Jackson
License (c) 2016 Darci Burdge and Stoney Jackson SOME RIGHTS RESERVED

This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit .

Suggestions for Open Source Community:

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

CC license.png

Personal tools
Learning Resources
HFOSS Projects