Facing an interesting issue while working on a Git task in KodeKloud labs

chandrasekhar1
Tue, 14 Apr 2026 17:40:33 +0000

The requirement was simple — create a new branch nautilus , add a file, commit it, merge it back to master, and push everything to the remote repo.

I went through the full workflow step by step, and everything looked correct from my end:

Branch is created locally

Changes are committed

Merge into master is successful

Both branches are pushed to origin

Even verified using:

git branch

git branch -r

git log --graph

git ls-remote

All outputs clearly show that the nautilus branch exists and is properly merged.

But still, the lab validator keeps failing with:
"new git branch ‘nautilus’ is not created under the repo

"

Spent some time rechecking and redoing the steps, but results are consistent — everything looks technically correct.

Feels like this might be a validation issue rather than a Git workflow mistake.

Read full topic