# Git Commands

* New Project git initialization
    
    ```bash
    git init
    ```
    
* File Changing to update git stage
    
    ```bash
    git add .
    ```
    
* Git Commit
    
    ```bash
    git commit -m "Frist Commit"
    ```
    
* Git Push
    
    ```bash
    git push -u origin main
    ```
    
    or
    
    ```bash
    git push
    ```
    

* Create a new Branch and Change another branch
    
    ```bash
    git checkout -b "Staging"
    ```
    
    ```bash
    git push -u origin Staging
    ```
    
    or
    
    ```bash
    git push
    ```
    
* After git clone and new project / add git url link
    
    ```bash
    git remote add origin url
    ```
    
* Git URL check
    
    ```bash
    git remote -v
    ```
