In F1 it's get alongside in the braking zone and beat the other car to the apex (while still being able to make the corner) to have corner rights. In GT7 it's:
When overtaking, you may have to give up on the optimal braking scenario we learned about previously. Even if your driving line goes wide at the corner exit and you are not able to accelerate under optimal conditions, it can still be worthwhile prioritising getting in front of your opponent when braking.
It depends on the car, some cars have very different braking distances. Some cars you can easily out brake and be alongside or even ahead before turn in, others don't even attempt if you're already alongside before the braking zone.
I race from the back myself and stick to not attempting to out brake if my nose is still behind the other car before the braking zone. I'll position my car a bit to the inside when I'm close, not to be caught out by an early braker. If they brake very early, then it will happen naturally. Yet better then when I stay behind and accidentally punt them off. I always use my earlier braking point in those situations, as in make sure I can slow down enough to leave the apex clear for the other car.
And of course switch it up, keep them guessing. Often just positioning my car on the inside is enough to make the other driver brake a bit later and take a sub optimal line through the corner. Then I have a clear corner to get a better corner exit and pass them after the corner. Even better when they're defending the inside, poition on the outside but brake early for slow in fast out. You are already on the better line, better corner exit is guaranteed. However out braking on the outside also works (depending on the corner) and feels better to pull off than the standard inside move.
Yet when I don't feel I have the corner, that is not fully alongside at turn in, I'll do my best to back out, that is brake more and steer as much to the inside as possible without losing control. That's where things can still go wrong when the outside driver dives to the apex like you don't exist. Yes, you have corner rights, but I can't magically make my car disappear.