Yes, you can achieve this - separate from the current branch and create a new branch to save the commit, return to the original branch, and then roll back the commit in the original branch.
, ( current), separate
git checkout -b separate
separate, .
git checkout current
git reset
, git checkout separate, .