
I am not able to get past this stage.

I am not able to get past this stage.
you need to click commit all. and then publishè the game
All you have to Do Is Click Commit All,
Then You can Publish the Game.
The only thing you need to do is first comit all the scripts and then publish it to the actual game.
This is what is called ‘Source Control’. It is the same sort of process that GitHub uses.
SC was invented so that many scripts working on the same project didn’t overwrite each other’s changes.
For example, imagine two developers are working on the same ‘gun’ script.
One developer is tasked with making the bullet shoot from the gun - the aesthetics
And the other is working on the mechanical damage side of the gun script.
What happens is they both start out with the same script - both make changes, but without SC - its the person who made the last change who’s code would save. And that is bad as it could wipe out the other developer’s changes.
With SC - both changes are temporarily saved - and it is only when both sides are committed that they are merged together and saved.
Finally, once you publish the changes, they become live in the game. This is known typically as ‘Pushing’ or ‘Push to master’. But that is a branch term and not really used on Roblox.
I would highly recommend learning more about source control itself as it is used practically everywhere in a software developer position. (honestly, if you get a job is Software later on and they don’t use source control - don’t go for the job - it will be a nightmare if you have a large team of developers =_=
What Is Source Control and Why Is It Important? | Perforce
Does this occur only when team create is enabled?
Probably, I’m not sure.
There seems to be a Collaraborative Scripting detail on this developer hub page: