# GIT

## Overview

Homepage & App Download Link: <https://git-scm.com/downloads>

**SCM:** Source Code Management

### Git Attributes

<table><thead><tr><th width="144.33333333333331">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>M</td><td>Modified</td></tr><tr><td>U</td><td>Untracked</td></tr></tbody></table>

### Git Codes

<table><thead><tr><th width="259">Code</th><th>Decription</th></tr></thead><tbody><tr><td>git add</td><td>Add file or folder to GIT</td></tr><tr><td>git add .</td><td>Add multiple files or folders to GIT</td></tr><tr><td>git amend</td><td></td></tr><tr><td>git checkout</td><td>Switch between master and branches</td></tr><tr><td>git clone</td><td>Pull whole project </td></tr><tr><td>git commit</td><td>Take a snapshot</td></tr><tr><td>git commit -m "comment..."</td><td>Take a snapshot with comment</td></tr><tr><td>git diff</td><td>Shows differences</td></tr><tr><td>git init</td><td>First initialization</td></tr><tr><td>git merge</td><td>Merge Master &#x26; Branch...</td></tr><tr><td>git pull</td><td>Pull changes from project</td></tr><tr><td>git push</td><td>Send changes to project</td></tr><tr><td>git revert</td><td>Undo commit</td></tr><tr><td>git rm</td><td>Remove files or folders</td></tr><tr><td>gir status</td><td>View changes</td></tr></tbody></table>

A complete list of all commands can be found at <https://git-scm.com/docs/git#_git_commands>

## Terminal Codes

| Code    | Action                               |
| ------- | ------------------------------------ |
| code .  | Opens default code editor app        |
| dir     | Shows directory & file list          |
| mk temp | Creates a new directory named "Temp" |
|         |                                      |

### Linus Torvalds

### Commit

### Pull

### Push

### SnapShot

### GitBash

Runs Windows and Linux codes inside Git on one screen.

### .gitignore

Some files do not need to sync with GIT. This list of files or file extensions can be described in ia .gitignore file. So that GIT will know and will not sync.

The content of gitignore file depends on the programming language, project needs, and privacy level. You may find via google such examples.

#### Sources

* [WP Guru / How to ignore a folder in GitHub Desktop](https://wpguru.co.uk/2020/09/how-to-ignore-a-folder-in-github-desktop/)

### Branch

* Master
  * Branch 1
  * Branch 2

For testıng or other purposes, you may need a copy of the current project.

## Sources

### Videos

### Articles / Documents

* <https://git-scm.com/doc>
* <https://app.patika.dev/courses/git>
* <https://app.patika.dev/courses/ileri-seviye-git>
* <https://www.atlassian.com/git/glossary>

## See also

*
