Coder Social home page Coder Social logo

adarsh275 / intro-to-git-and-github-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sarthakskumar/intro-to-git-and-github-workshop

0.0 0.0 0.0 76.22 MB

Workshop ๐Ÿ‘จโ€๐Ÿ’ป on Git and Github, Open-Source Contribution and Version Control ๐Ÿ’ป. 12 June 2022

License: Other

intro-to-git-and-github-workshop's Introduction

Registration Link

Watch the workshop session here

Workshop Guide

Introduction

Thank you for your interest in this workshop! Git is a system for managing snapshots of plain text projects. It is widely used in industry and academia for distributed collaboration amongst programmers. It is also useful to individuals who want to manage and back up plain text projects across multiple devices. GitHub is a popular website for hosting projects that use Git.

This workshop will provide a gentle introduction to Git and GitHub aimed at a general audience. Since Git is most often used in a text-based environment, we will also cover some simple use of the Unix command line. The goal of the workshop is that you will attain some idea of what Git is and how to begin using it.

Required Software

You will need software for editing plain text files and for using Git. More detailed software suggestions and instructions are below.

You must have the software downloaded before the workshop.

You should also do some basic sanity checks to ensure that it works correctly. At a minimum, you must be able to open a terminal and run the git --version without seeing any errors. You must also be able to edit plain text files.

Text Editors

The workshop will require you to have access to a plain text editor. Some common text editors include Notepad, VS Code, Atom, Vim and Emacs. Some text editors are easier to use than others, and some offer more features.

Notepad is easy to use but has minimal features.

Installing Git

Although Git is cross-platform, each operating system offers different installation methods. We are still evaluating which methods will be optimal for our workshops.

Have a look through the available options and choose one that seems suitable to you. You may need to try more than one to find a good fit for you and your system.

Windows

There are two or three main ways to install Git in Windows, depending on which version of Windows you are running.

Git for Windows

This installer comes along with a CLI version of Git, which is quite powerful. Download the installer from https://git-for-windows.github.io/ and run it.

You will be offered several options. The default options should be safe. The following screenshots show the options we tested with.

Ubuntu for Windows 10

This is the most powerful method, but it is quite complicated to set up. It offers a Linux-like environment within Windows 10.

Before you proceed with this method, you should know that Linux is an operating system often used in small devices like wifi routers and Android phones, and large high-performance servers.

Ubuntu is a Linux distribution, meaning a collection of software that can manage what is installed on a Linux system. There are a lot of Linux distributions; Ubuntu is often recommended to people who are new to Linux.

Normally Linux and Windows programs don't work well together. When Ubuntu for Windows 10 is activated, it acts as a translator between Linux and Windows, so now they can work with each other.

If you want to use this method for installing Git, you should first activate Ubuntu for Windows by following this tutorial.

Once you have your Ubuntu environment active, you will need to install Git by running:

sudo apt-get install git

We have not tested it, but you possibly also need to install Atom from within Ubuntu:

sudo apt-get install atom

Mac OS X

For the workshop, we will be using Git on the command line in a terminal. Fortunately, all Macs come with a terminal program.

Unfortunately, it is not obvious how to find it. Many Mac users don't even know they already have this extremely powerful tool at their fingertips, ready to go.

This tutorial by Jim Hoskins provides an introduction to the terminal in Mac OS X, including how to find and open it.

Once you can open a terminal, there are multiple methods for installing Git. These instructions summarise the available methods.

The XCode method is probably the simplest, although it is a very large download. Homebrew is a popular alternative.

Linux

Since Git is used to versioning control Linux itself, most Linux distributions make it very easy to install Git.

If you are attending the workshop with a Debian-like laptop (for example, if it is running Ubuntu or Mint), you can install Git using Synaptic, which is a graphical interface for package management. You can hopefully find Synaptic in the menus offered by your desktop environment.

To install Git from the command line in either Debian-like or Red Hat-like systems, see instructions here.

If you are running some other distribution, you probably know what you are doing and can find your help :)

Seeking Help

The workshop instructor has experience with Windows, a little experience with Linux, and minimal experience with Mac OS X. Therefore, the instructor's ability to solve problems you encounter on Linux and Windows would probably just amount to doing a bunch of Googling for you.

So, if you face some challenges when installing Git, please do your own Googling first, before contacting the workshop admins for tech support.

However, if you have a problem that you just can't solve even after serious Googling for an hour or two, please definitely contact the instructor as soon as possible!

We hope you can feel empowered to solve problems independently, but we don't want you to frustratedly bang your head against the wall for days :)

See you at the workshop!

Repo Contributors โค๏ธ

intro-to-git-and-github-workshop's People

Contributors

sarthakskumar avatar dev-sahsrah avatar shreya-mandi avatar adarsh275 avatar imgbotapp avatar rajathcodes avatar shubhambarikshetty28 avatar rohith-999 avatar daftylooper avatar deepshika-p avatar anvitha-shetty avatar ameethmanojbhuvanapalli avatar ashith05 avatar hdkiranbharadwaj avatar ankitacoder3 avatar alden-olivero avatar a-atchuta-ram avatar writvan avatar vishals-hk avatar vanishkag avatar sushh-24 avatar sragvi08 avatar ishreya09 avatar sarangkumar avatar pushpesh987 avatar qubitmatrix avatar prax0028 avatar 1729-vivek avatar chchandana53 avatar devkothaaari avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.