---
# System prepended metadata

title: WEEK 6

---

BLOCKFUSE LABS
WEEK SIX REPORT
Week six at blockfuse was interesting, we  paused from python and took a dive into version control, git and github.

I learnt that version control is a system that tracks changes made to file overtime.

Version control is mainly used to track changes and manage changes made to a file, and allows you revert to a previosly working version if 
something goes wrong with the current change

 Git is simply a version control system while GitHub is a central meeting point which allows developers connect, work on projects remotely.

Git is simply a system that tracks and manage changes made to files while GitHub as a central meeting point has the features of Git and brings developers together.

#A COMPREHENSIVE GIT AND GITHUB SETUP FOR BEGINNERS

To set up GitHub, do the following;
1. Type "github.com/signup" into you web browser.
2. Fill the necessary information on the sign up page

Next you need to install git on you laptop

Type in the following command in you linux terminal

"sudo apt install git"

enter you password and wait for the download to complete.
Type "git --version" to confirm that git works and know the version

Now that you have git installed on you local machine and you have also signed up to GitHub. You need to link your local machine to the remoteenvironment to enable you push your files from your computer to the remote site.

Follow the steps below;

git config --global user.name "Yor name"
use the username as registered on your github account.

git config --global user.email "Yor email"

Next thing to do is to create a repository on your local computer

"mkdir project" / to create a new directory called 'project'
"cd project" / change directory into your newly created directory
Now you need to initialize the repository to allow git track activities in the directory
"git init"

type in "git status" to see the staus of your directory, which files are untracked
by default your files are untracked, so you need to add the files to enable git track the files.
Create a new file called README.md

"touch README.md"

type in "git add README.md"

or "git add ." to add all files to the staging area. 

The next is to commit. Commit simply means saving your project.

"git commit -m "First commit" / You must always attach a commit message to describe what changes you want to make
Now go to your GitHub, click on your profile and select "Your repository"
select "new" to create a remote repository, it should carry the same name as that of your local computer in our case "project".

click on "create repository"

look at the git set up section and select the "SSH"
copy the path of the remote repository

"git remote add origin git@github.com:Jorimam/git_setup.git"

Type "git push -u origin main" to make your first push.

I also learnt the use of basic arithmetic operators to carry out simple calculations. Basic operations  such as, addition, subtraction, multiplication, division, modulus, and floor division. 
I was a productive week at Blockfuse labs.