--- layout: page category-title: Intermediate commands category-page: intermediate tags: author: Andrea Brites Marto title: git ---

If you want to use Git on the shell you need to know how this command works (usually it is preinstalled on Mac and Linux). The git command providesa set of high-level operations and full access to internals. Here is the basic syntax but sometimes you will may have some more complicated:

		git [flags] [path]
	
First of all, you need to know if you have the right version of git with:
		git --version
	
Now that we know that we have the right version, we can move to the common git flags used. I will divide commands in different type of operation.

Start a working area

Work on the current changes

History and state

Managing modification