Skip to main content

GIT & GitHub A to Z

Protected by Copyscape Web Plagiarism ScannerConcept of Version Controlling. 

Version control is a system that records changes to a file or set of files over time. Then you can recall specific versions later. For the examples in this blog, you will use my source code on GitHub as the files being version controlled.

There are three types of Version Control Systems.
1. Local Version Control System (maintains track of files within the local system)
2. Centralized Version Control System ( files are tracked under the centralized server)
3. Distributed Version Control System (clients completely clone the repository including its full history)
Those version control systems are broken down into two main categories, centralized and decentralized (distributed).


The GIT terminology
Most version control systems involve the following concepts.
Popular Version Control Systems:
  • Repository: The database.
  • Changelog: A list of changes made.
  • Syncing: Synchronizing your files with the latest from the repository.
  • Reverting: Reloading the latest version from the repository.
  • Server: The computer storing the repository.
  • Client: The computer connecting to the repository.
  • Merging: Applying the changes from one file to another.
  • Conflict: Contradictions of files with each other.
  • Resolving: Fixing the changes that contradict each other.
  • Working Copy: Your local directory of files.
  • Main: The primary location for code in the repository.
  • Add: Creating a file into the repository for the first time.
  • Revision: The version of a file.
  • Head: The latest revision.
  • Check out: Downloading a file from the repository.
  • Check in: Uploading a file to the repository.
  • Checkin Message: A short message.
  • Branch: Creating a separate copy of a file/folder for private use.
  • Locking: Taking control of a file so nobody else can edit it until you unlock it.
  • Check out for edit: Checking out an “editable” version of a file


GIT as a distributed version control system
The official Git-Cheat-sheet can be downloaded from here.
Github.com


Version Control Systems are sometimes known as Source Code Management systems(SCM) tools or Revision Control System (RCS). Git is one of the most popular VCS tools in use today. Git is a Distributed Version Control System and it is free and opensource.


Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear work-flows. [Wikipedia]
GitHub is a web-based hosting service for version control using Git. It is mostly used for code. It offers all of the distributed version control and source for free. 2019 onwards GitHub offers free space for unlimited number of  public repositories for free. There is a price for private usage. Microsoft has acquired github now!

Github Flow

The GitHub Flow is a light weight, branch based work-flow that is great for teams and projects with regular deployments. You can find more information on Github flow at lab.github.com



GitHub Flow
Markdown Syntaxes

![Image of Yaktocat](https://octodex.github.com/images/yaktocat.png) 

Markdown is a way to style text on the web. You control the display of the document: formatting words as bold or italic, adding images, and creating list are just a few of the things we can do with Markdown. Mostly, Markdown is just regular text with a few non-alphabetic characters thrown in, like # or *.

GitHub uses its own version of markdown syntaxes that provides an additional set of useful features, many of which make it easier to work with content on GitHub. 


Contributing on GitHub

Contributing on GitHub is free. More than one million users have posted their own repositories on GitHub. But each of those repositories will not make sense and here you can see the top contributors on GitHub in 2017.

So try out git and GitHub when you code! Start collaborating with millions of developers today!
Mention any question bellow, we will answer it as soon as possible. Wait... something to remember...   In case of fire? Here is the solution... 



Commit it, Push it, Escape ! 


Happy Coding !

Comments

Popular posts from this blog

Express.js වලින් වැඩ ගන්න

කොහොමද අපේ වැඩ්ඩො ටික … . අද මං මෙ ලිපියෙන් ගේන්නේ server side වැඩ කරන්න පුළුවන් framework එකක් ගැන . ඒ Express Js . නමින්ම එක Express . ඒ බව මේ Framework එකෙන් වැඩ කරද්දි ඔයාට තේරෙයි . Express වලින් වැඩ ගන්න නම් ඔයා මිට කලින් NodeJs ගැනයි JavaScript ගැනයි දැනගෙන ඉන්න ඕනේ … මොකක්ද මේ Express කියන්නේ ? Express හදලා තියෙන්නේ server side එහෙමත් නැතිනම් back end එකේ implementation වලට . Back-end, Front-end ගැන අපි කලින් කතා කරලා තියෙනවා . Express වලින් පුළුවන් ඔයාගේ computer එකේ port එකක් http සදහා open කරන්න . එහෙම කරලා ඔයාට පුළුවන් ඔයාගේ computer එකේ වෙබ් අඩවියක් උනත් publish   කරන්න . ●        Web application නිර්මාණය කිරීමට සහ API නිර්මාණය කිරීමට ●        බොහෝ විශේෂාංග සහිත වීම (available via plugins) ●        පැමිනෙණ requests දිෂාගත කළ හැකි වීම (routing) ●        ඉහළ කාර්යක්ෂමතාවය (High performance) ●        සේවාවන් පුළුල් කළ හැකි වීම (Extensible) ●        නැවත

Science Animated - Chemistry, Physics Experiments On Android Mobile

  " Science Animated " is an educational app that will allow you to conduct physics and chemistry experiments in an easy and really entertaining way within your classroom and beyond. With "Science Animated", you will be able to create engaging experiments utilizing the accelerator, the pH scale and other scientific instruments. You will also find pre-designed educational games that have been especially created for you! "Science Animated" is transforming physics and chemistry from theoretically intense to intensely fun!   ############## Features ############## * Earn more points while you learn. * Use your points to activate all premium content for free. * Share and redeem points. * Login with google to save your points and use across all Asia Cloud Apps. ################ Labs ############### * pH Scale * pH Scale: Basics * Arithmetic * Molecular shapes * Shapes of the molecules: basic points * Acid solvents * Light reflex * Oh's law * Resistance of wir