Hello @Niket Chandrawanshi,
The short answer is no, Git generally isn't designed for that.
The long version is that you can configure Git to behave like you described in some cases but not in all of them. And what is more important in the context of this thread, you can't configure it in Bitbucket as it doesn't provide a way to tweak required Git configuration parameters.
Let me know if you have any questions.
Across the world, governments and healthcare authorities are demonstrating the power of collaboration to find solutions to the COVID-19 pandemic, to protect our communities, and to get things back to...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events