Functions/New-GitBranch.ps1


function New-GitBranch {
    [CmdletBinding()]
    param (
        [Parameter()] [string] $BranchName
    )


    git branch $BranchName
    git switch $BranchName
    git push --set-upstream origin $BranchName

}