Shulchan Arukh, Even HaEzer Siman 131
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
צריך שתהיה כתיבת הגט וחתימתו לשם האיש המגרש ולשם האשה המתגרשת ואם לא נכתב לשמה אינו גט כיצד סופר שכתב גט ללמד או להתלמד ובא הבעל ומצא שם שנכתב בגט זה כשמו ושם האשה כשם אשתו ושם העיר כשם עירו ונטלו וגירש בו אינו גט:
The writing of a get (writ of divorce) and the signature of the witnesses must be in the name of (for the sake of) the divorcing man and the woman being divorced. If it was not written with this knowledge, the get is invalid. For example, a scribe who wrote a get to teach or for practice, and the husband came and found that the sample get had been written with his name, and the woman's name was the same as his wife's name, and the city was as his city; and he took the get and divorced his wife with the sample get, it is not a valid get.
יתר ע"כ כתב לגרש את אשתו ונמלך ומצאו בן עירו ואמר לו שמי כשמך ושם אשתי כשם אשתך ונטלו ממנו וגירש בו אע"פ שנכתב לשם גירושין אינו גט:
In addition, if he wrote to divorce his wife and changed his mind, and a resident of his city found him and told him, "My name is as your name, and my wife's name is as your wife's name," and he (the second man) took the get and divorced his wife, even though this get was originally written to effect a divorce, the get is not valid.
יתר על זה מי שיש לו שתי נשים ששמותיהם שוות וכתב לגרש את הגדולה ונמלך וגירש בו את הקטנה אינו גט שאע"פ שנכתב לשם האיש המגרש לא נכתב לשם זו שנתגרשה בו.
Furthermore, a man who has two wives with identical names, and he wrote to divorce the elder, changed his mind, and used the get to divorce the younger woman, it is not a valid get, for even though it was written in the name of the divorcing man, it was not written for the purpose of divorcing the woman who received the divorce.
יתר ע"כ אמר לסופר כתוב ואיזה שארצה אגרש בו וכתב הסופר על דעת זה וגירש בו אחת מהן ה"ז ספק גירושין וה"ה אם אמר לו כתוב לאיזו שתצא בפתח תחלה אגרשנה בו.
What is more, if he said to the scribe: Write, and I will divorce the one I wish [to divorce] with it, and the scribe wrote on this condition, and he divorced one of them with it, behold this is doubtful divorce. And that is the ruling if he said to him: Write, to whichever one goes out of the door first [and] I will divorce her with it.
גט שכתבו שלא לשמה אע"פ שהעביר עליו קולמוס לשמה אינו גט וי"א שחוששין לו:
A divorce document that he wrote not for its own sake(without intent), even if the scribe goes over it with intent, it is not a divorce document. And there are those who doubt this.
אפילו נכתב לשמו אם לא חתמו העדים לשמו אם נתנו לה בלא עידי מסירה אינו גט ואם נתנו לה בעידי מסירה הרי זה פסול וי"א שגם זה אינו גט:
אֲפִלּוּ נִכְתַּב לִשְׁמוֹ, אִם לֹא חָתְמוּ הָעֵדִים לִשְׁמוֹ, אִם נְתָנוֹ לָהּ בְּלֹא עֵדֵי מְסִירָה, אֵינוֹ גֵּט. וְאִם נְתָנוֹ לָהּ בְּעֵדֵי מְסִירָה, הֲרֵי זֶה פָּסוּל. וְיֵשׁ אוֹמְרִים שֶׁגַּם זֶה אֵינוֹ גֵּט: Even if it were written in his name, if the witnesses did not sign in his name, if he gave it to her without witnesses of transfer, it is not a divorce document. And if he gave it to her with witnesses of transfer, behold it is unfit. And there are those that say it is not even a divorce document(as opposed to just being unfit).
לפיכך צריך ליזהר כשהבעל מצוה לסופר לכתוב שיאמר (בפני עדים שיחתמו על הגט) כתוב גט לשם פלונית אשתי וכן יאמר הסופר בפיו כשמתחיל לכתוב שכותבו לשם פלונית אשת פלוני ולשמו של פלוני: הגה ויאמר כן בפני עדים החותמים על הגט ויכתבנו אח"כ בקביעות ולא בסירוגין כדי שיכתבו לשמו ולשמה כמו שהתחיל (בסדר גיטין) ומיהו בדיעבד אם כתבו בסירוגין כשר (ד"ע) י"א תיקון הקלף וחתיכת הקולמוס וכ"ש השרטוט צריך הכל להיות לשמם (מ"כ בתיקון) ומיהו אם עשה אלו הדברים שלא לשמם אינו פסול:
Therefore, one needs to be cautious when the husband commands the scribe to write that he say before witnesses that they should sign the divorce document: "Write this divorce document in the name of so and so, my wife. And so too the scribe should vocalize when he begins to write that he is writing for such an such a person, the wife of so and so, in the name of so and so. Ramah-gloss: And he should say this before the signing witnesses of the document, and they should write it with consistency and not in intervals, in order that they write his and her name like it was from the beginning. However, after the fact, if he wrote in intervals, it is kosher. (an opinion on its own). There are those that say emending the parchment, outline of the quill and all the more so, tracing, all need to be done with intention. However, if he did all these without intention, it is not invalid.
יהיו שם שני עידי החתימה בשעה שמתחיל לכתוב הגט כדי שידעו שנכתב לשמה ויכירוהו בשעת חתימה:
The two signatory witnesses should be there at the time in which he starts to write the divorce document, in order that they know it was written with intention and they identify the timing of the signing.
כשיאמר לעדים לחתום בגט יאמר להם שיחתמוהו לשם פלונית אשתו וכן יאמר כל אחד בפיו כשחותם שהוא חתמו לשם פלונית אשת פלוני ולשמו: הגה ואם התחיל לחתום מקצת שמו ולא אמר לשמו ולשמה ואח"כ נזכר ואמר יש מכשירין (ת"ה סי' רכ"ח ומהרי"ו סי' כ"ז):
When he says to the witnesses to sign the bill of divorce, he should say to them that they should sign in the name of his wife. And so too each one should say, orally, when he signs, that he is signing it in the name of so and so, the wife of so and so, with his(husband's) name. Rem''a: And if he started to sign a little of his name and he didn't orally say his(husband) and her name, and afterward he remembers and says it, there are those who permit such a situation.