Objective: The objective of this workshop is to introduce participants to GitHub and essential Command Line Interface (CLI) tools, equipping them with the knowledge and skills to use version control effectively and navigate the CLI efficiently.
Duration: 1 day (approximately 3-4 hours)
- Projector and screen
- Laptops for each participant with required software installed (Git, text editor, CLI)
- Ensure all laptops are set up with the necessary software and tools beforehand.
- Create GitHub accounts for participants who do not already have them.
- Prepare sample projects or exercises that will be used during the hands-on sessions.
- Introduce the concept of version control and its importance in collaborative development.
- Explain the benefits of using GitHub for version control and collaboration.
- Demonstrate how to create a GitHub account and set up user profiles.
- Discuss basic GitHub terminology (repository, commit, branch, pull request, etc.).
- Show how to create a new repository and perform a basic commit.
- Explain the fundamentals of Git, the version control system used by GitHub.
- Cover essential Git commands:
- git init
- git add
- git commit
- git status
- git log
- git diff
- Discuss the concept of branching and merging in Git.
- Introduce participants to collaborative workflows using GitHub.
- Cover topics such as forking repositories, creating branches, and making pull requests.
- Demonstrate how to review and approve pull requests.
- Explain the process of resolving conflicts during merging.
- Introduce the Command Line Interface (CLI) and its advantages.
- Familiarize participants with basic CLI commands (cd, ls, mkdir, rm, etc.).
- Teach navigation techniques in the terminal.
- Cover advanced Git commands:
- git clone
- git push
- git pull
- git branch
- git merge
- Introduce more CLI tools that can enhance productivity (grep, sed, awk, etc.).
- Divide participants into small groups.
- Assign a collaborative project that involves working with Git and the CLI.
- Encourage participants to create branches, make changes, and perform pull requests.
- Provide assistance and guidance as needed during the project.
- Discuss best practices for using Git and GitHub efficiently.
- Cover tips for writing good commit messages and maintaining clean repositories.
- Share resources and references for further learning.
- Allow time for participants to ask any remaining questions.
- Recap the key takeaways from the workshop.
- Provide additional resources for self-learning after the workshop.