Have you recently cloned a GitHub or GitLab repository, created a new branch and tried to push back, only to encounter Git's fatal "Current branch has no upstream branch" error? If that's the case, ...
I'm fairly new to git and most of my interaction with it has been via the IntelliJ Idea IDE. But sometimes I use a command line. In one directory I did "git init", "git add files", and "git commit".
However, it is possible to alter this behavior and stash untracked files with the right git stash save and push options. The trick is to use the --include-untracked option or for brevity, the -u alias ...