# Bootcamp ## Git Branch ### Branch Commands - `git clone` `<repo_url>` `<directory:optional>` (clone repository `<repo_url>` to `<directory>`) - `git config user.name` `<name>` (sets user name to `<name>`) - `git config user.email` `<email>` (sets user email to `<email>`) - `git checkout` `<branch>` (goes to branch) - `git checkout -b` `<branch>` (creates & goes to local branch) - `git branch` `<branch>` (creates local branch) - `git branch -d` `<branch>` (deletes local branch safely) - `git branch -D` `<branch>` (deletes local branch unsafely) - `git branch -m` `<branch>` (renames local branch) - `git branch -a` (lists remote branches) - `git push origin --delete` `<branch>` (deletes remote branch) - `git push origin` `:<branch>` (deletes remote branch) - `git merge` `<branch>` (merges current branch to `<branch>`) ### Flow Branches - master (from release) - release (from develop) - develop (from release) - feature (to develop) - hotfix (to master & develop) ![](https://i.imgur.com/9af6xFn.png) [Git Flow Chart](https://app.gfc.io/github/Orkuncakilkaya/bootcamp-site) ## Programming Introduction - pass by reference/value ![](https://i.imgur.com/d4uLAl8.gif) ### Language structures & types #### Structures - object oriented - functional #### Types - compileable - scripting - markup & style ### Sync/Async use when&where?