├── README.md ├── Git & GitHub.pptx └── Git commands.md /README.md: -------------------------------------------------------------------------------- 1 | # Git & GitHub Workshop 2 | -------------------------------------------------------------------------------- /Git & GitHub.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AghilesTMA/GitGitHub-Workshop/HEAD/Git & GitHub.pptx -------------------------------------------------------------------------------- /Git commands.md: -------------------------------------------------------------------------------- 1 | # Essential Git Commands 2 | 3 | - **`git init`**: Initializes a new Git repository in the current directory. Creates an empty repository to track changes. 4 | 5 | - **`git clone `**: Downloads an existing repository from a remote server to your local machine. 6 | 7 | - **`git status`**: Displays the current state of your working copy. 8 | 9 | - **`git add `**: Stages changes for a commit. 10 | 11 | - **`git commit -m "Your commit message"`**: Saves staged changes to the local repository. 12 | 13 | - **`git log`**: Shows a history of commits. 14 | 15 | - **`git branch`**: Lists all branches in your repository. 16 | 17 | - **`git branch `**: creates a branch with the name ``. 18 | 19 | - **`git checkout `**: Switches between branches. 20 | 21 | - **`git checkout -b `**: This command will create the branch and switch to it. 22 | 23 | - **`git pull`**: Fetches changes from a remote repository and merges them into your local branch. 24 | 25 | - **`git push`**: Publishes local commits to a remote repository. 26 | 27 | For more information about Git and Github visit this link:. 28 | --------------------------------------------------------------------------------