I cloned the development branch from a gitlab repo into my local machine(window). After that I was supposed to create a new branch from this development branch by git checkout -b new_branch but I forgot to do that and I did all the changes inside the development branch itself. I just remember it while pushing(my bad).
Now I want to create new branch from this development branch and want to keep all these changes of the development branch(which are not pushed and should not be pushed) to this newly created branch. How can I do this ?